Code in DdsDecoder_Initialize() are moved to DdsDecoder_Wine_Initialize(). And DdsDecoder_Initialize() are implemented on top of DdsDecoder_Wine_Initialize().
Signed-off-by: Ziqing Hui zhui@codeweavers.com ---
v3: Change the position of EnterCriticalSection() to the beginning of DdsDecoder_Initialize().
dlls/windowscodecs/ddsformat.c | 118 ++++++++++++++++----------- dlls/windowscodecs/tests/ddsformat.c | 3 - 2 files changed, 70 insertions(+), 51 deletions(-)