d3d9: Unset the pixel shader at the end of cnd_test().

This prevents failures in subsequent tests when no PS2.0 support is present.
This commit is contained in:
H. Verbeet 2008-06-25 17:09:35 +02:00 committed by Alexandre Julliard
parent 873c0afb82
commit 674b3b84e9
1 changed files with 3 additions and 0 deletions

View File

@ -4891,6 +4891,9 @@ static void cnd_test(IDirect3DDevice9 *device)
hr = IDirect3DDevice9_Present(device, NULL, NULL, NULL, NULL);
ok(hr == D3D_OK, "IDirect3DDevice9_Present failed with %s\n", DXGetErrorString9(hr));
hr = IDirect3DDevice9_SetPixelShader(device, NULL);
ok(hr == D3D_OK, "IDirect3DDevice9_SetPixelShader returned %s\n", DXGetErrorString9(hr));
/* This is the 1.4 test. The coissue doesn't change the behavior here, but keep in mind
* that we swapped the values in c1 and c2 to make the other tests return some color
*/