windowscodecs/tests: Fix a variable name typo in decode_bc1().
Signed-off-by: Ziqing Hui <zhui@codeweavers.com> Signed-off-by: Esme Povirk <esme@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7c229f647b
commit
5e000b1830
|
@ -573,7 +573,7 @@ static void decode_bc1(const BYTE *blocks, UINT block_count, UINT width, UINT he
|
||||||
((GET_RGB565_B(color[0]) + GET_RGB565_B(color[1]) * 2 + 1) / 3));
|
((GET_RGB565_B(color[0]) + GET_RGB565_B(color[1]) * 2 + 1) / 3));
|
||||||
}
|
}
|
||||||
|
|
||||||
color_indices = blocks + 4;
|
color_indices = block + 4;
|
||||||
for (j = 0; j < 16; j++, pixel_index++)
|
for (j = 0; j < 16; j++, pixel_index++)
|
||||||
{
|
{
|
||||||
if ((pixel_index % stride >= width) ||
|
if ((pixel_index % stride >= width) ||
|
||||||
|
|
Loading…
Reference in New Issue