Ziqing Hui zhui@codeweavers.com writes:
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(-)
This is breaking tests here:
../../../tools/runtest -q -P wine -T ../../.. -M d3dx10_43.dll -p d3dx10_43_test.exe d3dx10 && touch d3dx10.ok d3dx10.c:1065: Test failed: Test 12: Got unexpected hr 0x80004005. make: *** [Makefile:184: d3dx10.ok] Error 1