d3d11/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 5e065c3c70
commit 42fc1dcda5
1 changed files with 1 additions and 1 deletions

View File

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