[PATCH] WineD3D: De-pickify the texbem test=0A=

Stefan Doesinger stefan at codeweavers.com
Tue Aug 12 17:46:34 CDT 2008


=0A=
---=0A=
 dlls/d3d9/tests/visual.c |    8 ++++----=0A=
 1 files changed, 4 insertions(+), 4 deletions(-)=0A=
=0A=
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c=0A=
index 7793a6c..8818eab 100644=0A=
--- a/dlls/d3d9/tests/visual.c=0A=
+++ b/dlls/d3d9/tests/visual.c=0A=
@@ -1663,13 +1663,13 @@ static void texbem_test(IDirect3DDevice9 *device)=0A=
         ok(SUCCEEDED(hr), "Present failed (0x%08x)\n", hr);=0A=
 =0A=
         color =3D getPixelColor(device, 320-32, 240);=0A=
-        ok(color =3D=3D 0x00ffffff, "texbem failed: Got color 0x%08x, =
expected 0x00ffffff.\n", color);=0A=
+        ok(color_match(color, 0x00ffffff, 4), "texbem failed: Got color =
0x%08x, expected 0x00ffffff.\n", color);=0A=
         color =3D getPixelColor(device, 320+32, 240);=0A=
-        ok(color =3D=3D 0x00ffffff, "texbem failed: Got color 0x%08x, =
expected 0x00ffffff.\n", color);=0A=
+        ok(color_match(color, 0x00ffffff, 4), "texbem failed: Got color =
0x%08x, expected 0x00ffffff.\n", color);=0A=
         color =3D getPixelColor(device, 320, 240-32);=0A=
-        ok(color =3D=3D 0x00ffffff, "texbem failed: Got color 0x%08x, =
expected 0x00ffffff.\n", color);=0A=
+        ok(color_match(color, 0x00ffffff, 4), "texbem failed: Got color =
0x%08x, expected 0x00ffffff.\n", color);=0A=
         color =3D getPixelColor(device, 320, 240+32);=0A=
-        ok(color =3D=3D 0x00ffffff, "texbem failed: Got color 0x%08x, =
expected 0x00ffffff.\n", color);=0A=
+        ok(color_match(color, 0x00ffffff, 4), "texbem failed: Got color =
0x%08x, expected 0x00ffffff.\n", color);=0A=
 =0A=
         hr =3D IDirect3DDevice9_SetPixelShader(device, NULL);=0A=
         ok(SUCCEEDED(hr), "SetPixelShader failed (%08x)\n", hr);=0A=
-- =0A=
1.5.4.5=0A=
=0A=

------=_NextPart_000_004D_01C902BC.88893390--




More information about the wine-patches mailing list