[PATCH] d3d10core/tests: Don't test stencil_ref again if it wasn't touched

Michael Stefaniuc mstefani at winehq.org
Fri Dec 17 16:49:07 CST 2021


Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
 dlls/d3d10core/tests/d3d10core.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/d3d10core/tests/d3d10core.c b/dlls/d3d10core/tests/d3d10core.c
index a1c4be46b7f..d7fc9efa901 100644
--- a/dlls/d3d10core/tests/d3d10core.c
+++ b/dlls/d3d10core/tests/d3d10core.c
@@ -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);
 
-- 
2.31.1




More information about the wine-devel mailing list