Skip to content
Snippets Groups Projects
Commit 5e065c3c authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard
Browse files

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: default avatarFrancois Gouget <fgouget@codeweavers.com>
Signed-off-by: default avatarHenri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent f5a22e43
No related branches found
No related tags found
No related merge requests found
......@@ -19068,7 +19068,7 @@ static void test_texture_compressed_3d(void)
}
expected |= 0xff000000;
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;
}
if (!equal)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment