Commit 873c0afb authored by H. Verbeet's avatar H. Verbeet Committed by Alexandre Julliard

d3d: Allow more imprecision in the texop test.

parent 89a8cfdb
......@@ -1260,7 +1260,7 @@ static void texop_test(IDirect3DDevice8 *device)
ok(SUCCEEDED(hr), "Present failed with 0x%08x (%s)\n", hr, DXGetErrorString8(hr));
color = getPixelColor(device, 320, 240);
ok(color_match(color, test_data[i].result, 1), "Operation %s returned color 0x%08x, expected 0x%08x\n",
ok(color_match(color, test_data[i].result, 3), "Operation %s returned color 0x%08x, expected 0x%08x\n",
test_data[i].name, color, test_data[i].result);
}
......
......@@ -9202,7 +9202,7 @@ static void texop_test(IDirect3DDevice9 *device)
ok(SUCCEEDED(hr), "Present failed with 0x%08x (%s)\n", hr, DXGetErrorString9(hr));
color = getPixelColor(device, 320, 240);
ok(color_match(color, test_data[i].result, 1), "Operation %s returned color 0x%08x, expected 0x%08x\n",
ok(color_match(color, test_data[i].result, 3), "Operation %s returned color 0x%08x, expected 0x%08x\n",
test_data[i].name, color, test_data[i].result);
}
......
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