Using strncmp() to compare pixel data buffer leads to incorrect tests. Also, we should clear the pixel data buffer before editing and comparing them.
Signed-off-by: Ziqing Hui zhui@codeweavers.com ---
v3: Merge 2 commits into one.
dlls/windowscodecs/tests/ddsformat.c | 32 +++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-)