d3d10core/tests: Increase the tolerance in test_texture_compressed_3d().

This fixes failures on Nvidia GeForce GTX 560 graphics cards.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51340
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2021-06-29 09:11:18 +02:00 committed by Alexandre Julliard
parent f5a22e4310
commit 5e065c3c70
1 changed files with 1 additions and 1 deletions

View File

@ -19068,7 +19068,7 @@ static void test_texture_compressed_3d(void)
} }
expected |= 0xff000000; expected |= 0xff000000;
colour = get_readback_color(&rb, (x * 640 + 128) / 256, (y * 480 + 128) / 256); colour = get_readback_color(&rb, (x * 640 + 128) / 256, (y * 480 + 128) / 256);
if (!(equal = compare_color(colour, expected, 2))) if (!(equal = compare_color(colour, expected, 8)))
break; break;
} }
if (!equal) if (!equal)