Commit 42fc1dcd authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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=51340Signed-off-by: 's avatarFrancois Gouget <fgouget@codeweavers.com> Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 5e065c3c
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment