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:
parent
f5a22e4310
commit
5e065c3c70
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue