d3d9: Reduce the YUV test precision.

This commit is contained in:
Stefan Dösinger 2009-10-02 16:53:58 +02:00 committed by Alexandre Julliard
parent 2f09686f6b
commit fcd0bc8f54
1 changed files with 2 additions and 2 deletions

View File

@ -9754,11 +9754,11 @@ static void yuv_color_test(IDirect3DDevice9 *device) {
* differently, so we need a max diff of 16
*/
color = getPixelColor(device, 40, 240);
ok(color_match(color, ref_color_left, 16),
ok(color_match(color, ref_color_left, 18),
"Input 0x%08x: Got color 0x%08x for pixel 1/1, expected 0x%08x, format %s\n",
test_data[i].in, color, ref_color_left, fmt_string);
color = getPixelColor(device, 600, 240);
ok(color_match(color, ref_color_right, 16),
ok(color_match(color, ref_color_right, 18),
"Input 0x%08x: Got color 0x%08x for pixel 2/1, expected 0x%08x, format %s\n",
test_data[i].in, color, ref_color_right, fmt_string);
}