[PATCH 1/5] d3d11/tests: Remove dead assignments.
Józef Kucia
jkucia at codeweavers.com
Mon May 15 05:05:43 CDT 2017
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
dlls/d3d11/tests/d3d11.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/dlls/d3d11/tests/d3d11.c b/dlls/d3d11/tests/d3d11.c
index 8008893..5b85845 100644
--- a/dlls/d3d11/tests/d3d11.c
+++ b/dlls/d3d11/tests/d3d11.c
@@ -2507,7 +2507,6 @@ static void test_create_buffer(void)
buffer = create_buffer(device, D3D11_BIND_VERTEX_BUFFER, 1024, NULL);
hr = check_interface(buffer, &IID_ID3D10Buffer, TRUE, TRUE); /* Not available on all Windows versions. */
ID3D11Buffer_Release(buffer);
-
if (FAILED(hr))
{
win_skip("Buffers do not implement ID3D10Buffer.\n");
@@ -4323,8 +4322,8 @@ static void test_create_blend_state(void)
}
/* Not available on all Windows versions. */
- hr = check_interface(blend_state1, &IID_ID3D10BlendState, TRUE, TRUE);
- hr = check_interface(blend_state1, &IID_ID3D10BlendState1, TRUE, TRUE);
+ check_interface(blend_state1, &IID_ID3D10BlendState, TRUE, TRUE);
+ check_interface(blend_state1, &IID_ID3D10BlendState1, TRUE, TRUE);
refcount = ID3D11BlendState_Release(blend_state1);
ok(refcount == 1, "Got unexpected refcount %u.\n", refcount);
@@ -4434,7 +4433,7 @@ static void test_create_depthstencil_state(void)
ID3D11Device_Release(tmp);
/* Not available on all Windows versions. */
- hr = check_interface(ds_state1, &IID_ID3D10DepthStencilState, TRUE, TRUE);
+ check_interface(ds_state1, &IID_ID3D10DepthStencilState, TRUE, TRUE);
refcount = ID3D11DepthStencilState_Release(ds_state2);
ok(refcount == 1, "Got unexpected refcount %u.\n", refcount);
--
2.10.2
More information about the wine-patches
mailing list