=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: d3d8/tests: Allow a higher slop for test_updatetexture.

Alexandre Julliard julliard at winehq.org
Mon Feb 20 15:03:44 CST 2017


Module: wine
Branch: master
Commit: cec8021179ff899442b60f8b54ad0d89e6f543d8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cec8021179ff899442b60f8b54ad0d89e6f543d8

Author: Stefan Dösinger <stefandoesinger at gmx.at>
Date:   Sun Feb 19 11:47:53 2017 +0000

d3d8/tests: Allow a higher slop for test_updatetexture.

My Radeon X1600 returns 0x007c7c00.

Signed-off-by: Stefan Dösinger <stefandoesinger at gmx.at>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 b477ab7..a7177d3 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);
             }




More information about the wine-cvs mailing list