H. Verbeet : d3d: Allow more imprecision in the texop test.

Alexandre Julliard julliard at winehq.org
Wed Jun 25 16:44:07 CDT 2008


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

Author: H. Verbeet <hverbeet at gmail.com>
Date:   Wed Jun 25 17:09:16 2008 +0200

d3d: Allow more imprecision in the texop test.

---

 dlls/d3d8/tests/visual.c |    2 +-
 dlls/d3d9/tests/visual.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d3d8/tests/visual.c b/dlls/d3d8/tests/visual.c
index 893a93f..5dbc125 100644
--- a/dlls/d3d8/tests/visual.c
+++ b/dlls/d3d8/tests/visual.c
@@ -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);
     }
 
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index 1a9b5fc..56159fd 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -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);
     }
 




More information about the wine-cvs mailing list