From: Stefan Dösinger Subject: [PATCH 4/5] d3d8/tests: Allow a higher slop for test_updatetexture. Message-Id: <20170219114754.18803-4-stefandoesinger@gmx.at> Date: Sun, 19 Feb 2017 11:47:53 +0000 In-Reply-To: <20170219114754.18803-1-stefandoesinger@gmx.at> References: <20170219114754.18803-1-stefandoesinger@gmx.at> My Radeon X1600 returns 0x007c7c00. Signed-off-by: Stefan Dösinger --- 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