d3d8/tests: Allow a higher slop for test_updatetexture.

My Radeon X1600 returns 0x007c7c00.

Signed-off-by: Stefan Dösinger <stefandoesinger@gmx.at>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Stefan Dösinger 2017-02-19 11:47:53 +00:00 committed by Alexandre Julliard
parent 103f578110
commit cec8021179

View file

@ -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);
}