Stefan Dösinger : d3d9: Reduce the YUV test precision.

Alexandre Julliard julliard at winehq.org
Thu Oct 8 08:57:12 CDT 2009


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

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Fri Oct  2 16:53:58 2009 +0200

d3d9: Reduce the YUV test precision.

---

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

diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index 092cbe9..f12983d 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -9754,11 +9754,11 @@ static void yuv_color_test(IDirect3DDevice9 *device) {
              * differently, so we need a max diff of 16
              */
             color = getPixelColor(device, 40, 240);
-            ok(color_match(color, ref_color_left, 16),
+            ok(color_match(color, ref_color_left, 18),
                "Input 0x%08x: Got color 0x%08x for pixel 1/1, expected 0x%08x, format %s\n",
                test_data[i].in, color, ref_color_left, fmt_string);
             color = getPixelColor(device, 600, 240);
-            ok(color_match(color, ref_color_right, 16),
+            ok(color_match(color, ref_color_right, 18),
                "Input 0x%08x: Got color 0x%08x for pixel 2/1, expected 0x%08x, format %s\n",
                test_data[i].in, color, ref_color_right, fmt_string);
         }




More information about the wine-cvs mailing list