mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
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>
This commit is contained in:
parent
547db30201
commit
f65f1a939a
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue