Commit 674b3b84 authored by H. Verbeet's avatar H. Verbeet Committed by Alexandre Julliard

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

This prevents failures in subsequent tests when no PS2.0 support is present.
parent 873c0afb
...@@ -4891,6 +4891,9 @@ static void cnd_test(IDirect3DDevice9 *device) ...@@ -4891,6 +4891,9 @@ static void cnd_test(IDirect3DDevice9 *device)
hr = IDirect3DDevice9_Present(device, NULL, NULL, NULL, NULL); hr = IDirect3DDevice9_Present(device, NULL, NULL, NULL, NULL);
ok(hr == D3D_OK, "IDirect3DDevice9_Present failed with %s\n", DXGetErrorString9(hr)); 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 /* 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 * that we swapped the values in c1 and c2 to make the other tests return some color
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment