Stefan Dösinger : d3d9: Unset the vertex shader in the compare_instructions test.
Alexandre Julliard
julliard at winehq.org
Fri Jul 18 06:46:41 CDT 2008
Module: wine
Branch: master
Commit: 3a224fe289ec1b107e6661427276ebfde16a3443
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3a224fe289ec1b107e6661427276ebfde16a3443
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Mon Jul 7 17:00:49 2008 -0500
d3d9: Unset the vertex shader in the compare_instructions test.
---
dlls/d3d9/tests/visual.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index fdba43b..a63d5e3 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -5813,6 +5813,8 @@ void test_compare_instructions(IDirect3DDevice9 *device)
hr = IDirect3DDevice9_Present(device, NULL, NULL, NULL, NULL);
ok(hr == D3D_OK, "IDirect3DDevice9_Present failed with %08x\n", hr);
+ hr = IDirect3DDevice9_SetVertexShader(device, NULL);
+ ok(hr == D3D_OK, "IDirect3DDevice9_SetVertexShader returned %08x\n", hr);
color = getPixelColor(device, 160, 360);
ok(color == 0x00FF00FF, "Compare test: Quad 1(sge vec) returned color 0x%08x, expected 0x00FF00FF\n", color);
More information about the wine-cvs
mailing list