Stefan Dösinger : d3d9: Make the srgb reading test less strict.

Alexandre Julliard julliard at winehq.org
Wed Apr 9 05:31:40 CDT 2008


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

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Mon Apr  7 13:56:27 2008 +0200

d3d9: Make the srgb reading test less strict.

---

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

diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index fc78f7a..879e2c4 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -6336,7 +6336,7 @@ static void srgbtexture_test(IDirect3DDevice9 *device)
     ok(hr == D3D_OK, "IDirect3DDevice9_Present failed with %s\n", DXGetErrorString9(hr));
 
     color = getPixelColor(device, 320, 240);
-    ok(color == 0x00363636, "srgb quad has color %08x, expected 0x00363636\n", color);
+    ok(color == 0x00363636 || color == 0x00373737, "srgb quad has color %08x, expected 0x00363636\n", color);
 
 out:
     if(texture) IDirect3DTexture9_Release(texture);




More information about the wine-cvs mailing list