Module: wine Branch: master Commit: f65f1a939aaace9d65ddba90c29f5c8a3b9f7413 URL: https://source.winehq.org/git/wine.git/?a=commit;h=f65f1a939aaace9d65ddba90c...
Author: Józef Kucia jkucia@codeweavers.com Date: Tue Jan 23 18:15:19 2018 +0100
dxgi/tests: Fix crash in test_output_desc().
Signed-off-by: Józef Kucia jkucia@codeweavers.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 714798f..f7b3ba0 100644 --- a/dlls/dxgi/tests/device.c +++ b/dlls/dxgi/tests/device.c @@ -3343,8 +3343,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);