[PATCH 4/5] d3d8/tests: Allow a higher slop for test_updatetexture.
Stefan Dösinger
stefandoesinger at gmx.at
Sun Feb 19 05:47:53 CST 2017
My Radeon X1600 returns 0x007c7c00.
Signed-off-by: Stefan Dösinger <stefandoesinger at gmx.at>
---
dlls/d3d8/tests/visual.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3d8/tests/visual.c b/dlls/d3d8/tests/visual.c
index e2ca179..f617484 100644
--- a/dlls/d3d8/tests/visual.c
+++ b/dlls/d3d8/tests/visual.c
@@ -6740,7 +6740,7 @@ static void test_updatetexture(void)
ok(SUCCEEDED(hr), "Failed to end scene, hr %#x.\n", hr);
color = getPixelColor(device, 320, 240);
- ok (color_match(color, 0x007f7f00, 2) || broken(tests[i].broken)
+ ok (color_match(color, 0x007f7f00, 3) || broken(tests[i].broken)
|| broken(color == 0x00adbeef), /* WARP device often just breaks down. */
"Got unexpected color 0x%08x, case %u, %u.\n", color, t, i);
}
--
2.10.2
More information about the wine-patches
mailing list