[PATCH 5/5] dxgi/tests: Fix crash in test_output_desc().
Józef Kucia
jkucia at codeweavers.com
Tue Jan 23 11:15:19 CST 2018
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
Fixes a crash on my Windows box.
---
dlls/dxgi/tests/device.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/dxgi/tests/device.c b/dlls/dxgi/tests/device.c
index 5ec03c388741..ecf3cb5b9151 100644
--- a/dlls/dxgi/tests/device.c
+++ b/dlls/dxgi/tests/device.c
@@ -3337,8 +3337,6 @@ static void test_output_desc(void)
refcount = get_refcount((IUnknown *)output);
ok(refcount == 1, "Get unexpected refcount %u for output %u, adapter %u.\n", refcount, j, i);
- hr = IDXGIOutput_GetDesc(output, NULL);
- ok(hr == E_INVALIDARG, "Got unexpected hr %#x for output %u on adapter %u.\n", hr, j, i);
hr = IDXGIOutput_GetDesc(output, &desc);
ok(SUCCEEDED(hr), "Failed to get desc for output %u on adapter %u, hr %#x.\n", j, i, hr);
--
2.13.6
More information about the wine-devel
mailing list