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

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2021-12-17 23:49:07 +01:00 committed by Alexandre Julliard
parent 586b52204e
commit 0b9ec86c26
1 changed files with 0 additions and 1 deletions

View File

@ -5717,7 +5717,6 @@ float4 main(float4 color : COLOR) : SV_TARGET
ok(stencil_ref == 3, "Got unexpected stencil ref %u.\n", stencil_ref);
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);
ID3D10DepthStencilState_Release(tmp_ds_state);