Commit 0b9ec86c authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

d3d10core/tests: Don't test stencil_ref again if it wasn't touched.

parent 586b5220
...@@ -5717,7 +5717,6 @@ float4 main(float4 color : COLOR) : SV_TARGET ...@@ -5717,7 +5717,6 @@ float4 main(float4 color : COLOR) : SV_TARGET
ok(stencil_ref == 3, "Got unexpected stencil ref %u.\n", stencil_ref); ok(stencil_ref == 3, "Got unexpected stencil ref %u.\n", stencil_ref);
tmp_ds_state = NULL; tmp_ds_state = NULL;
ID3D10Device_OMGetDepthStencilState(device, &tmp_ds_state, NULL); ID3D10Device_OMGetDepthStencilState(device, &tmp_ds_state, NULL);
ok(stencil_ref == 3, "Got unexpected stencil ref %u.\n", stencil_ref);
ok(tmp_ds_state == ds_state, "Got unexpected depth stencil state %p, expected %p.\n", tmp_ds_state, ds_state); ok(tmp_ds_state == ds_state, "Got unexpected depth stencil state %p, expected %p.\n", tmp_ds_state, ds_state);
ID3D10DepthStencilState_Release(tmp_ds_state); ID3D10DepthStencilState_Release(tmp_ds_state);
......
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