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

Alexandre Julliard julliard at winehq.org
Tue Dec 28 15:48:27 CST 2021


Module: wine
Branch: master
Commit: 0b9ec86c26e1728b4c2428252bd2aaa41a37e785
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=0b9ec86c26e1728b4c2428252bd2aaa41a37e785

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Fri Dec 17 23:49:07 2021 +0100

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

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard 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);
 




More information about the wine-cvs mailing list