Commit fcd0bc8f authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

d3d9: Reduce the YUV test precision.

parent 2f09686f
......@@ -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);
}
......
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