[PATCH] d3d9: unset the vertex shader in the =

Stefan Doesinger stefan at codeweavers.com
Mon Jul 7 17:00:49 CDT 2008

compare_instructions test=0A=
 dlls/d3d9/tests/visual.c |    2 ++=0A=
 1 files changed, 2 insertions(+), 0 deletions(-)=0A=
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c=0A=
index c625214..7c27064 100644=0A=
--- a/dlls/d3d9/tests/visual.c=0A=
+++ b/dlls/d3d9/tests/visual.c=0A=
@@ -5813,6 +5813,8 @@ void test_compare_instructions(IDirect3DDevice9 =
     hr =3D IDirect3DDevice9_Present(device, NULL, NULL, NULL, NULL);=0A=
     ok(hr =3D=3D D3D_OK, "IDirect3DDevice9_Present failed with %08x\n", =
+    hr =3D IDirect3DDevice9_SetVertexShader(device, NULL);=0A=
+    ok(hr =3D=3D D3D_OK, "IDirect3DDevice9_SetVertexShader returned =
%08x\n", hr);=0A=
     color =3D getPixelColor(device, 160, 360);=0A=
     ok(color =3D=3D 0x00FF00FF, "Compare test: Quad 1(sge vec) returned =
color 0x%08x, expected 0x00FF00FF\n", color);=0A=
-- =0A=


More information about the wine-patches mailing list