windowscodecs/tests: Fix tests for CopyBlocks.
commit87ddb4ba37422726a1e3a5b08c852ac58d55a255
authorZiqing Hui <zhui@codeweavers.com>
Thu, 27 Aug 2020 05:35:01 +0000 (27 13:35 +0800)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 28 Aug 2020 08:41:04 +0000 (28 10:41 +0200)
tree0d60cbf65681b66e9e41251d6806a9e1993e3b4d
parent7489efa03f09c6c3613668a0169abade6b390d09
windowscodecs/tests: Fix tests for CopyBlocks.

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>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/windowscodecs/tests/ddsformat.c