dxgi/tests: Accept higher adapter refcounts in test_create_swapchain().
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
f334ab293e
commit
c9d9e5fd23
|
@ -1126,7 +1126,7 @@ static void test_create_swapchain(void)
|
||||||
ok(SUCCEEDED(hr), "Failed to create swapchain, hr %#x.\n", hr);
|
ok(SUCCEEDED(hr), "Failed to create swapchain, hr %#x.\n", hr);
|
||||||
|
|
||||||
refcount = get_refcount((IUnknown *)adapter);
|
refcount = get_refcount((IUnknown *)adapter);
|
||||||
ok(refcount == expected_refcount, "Got refcount %u, expected %u.\n", refcount, expected_refcount);
|
ok(refcount >= expected_refcount, "Got refcount %u, expected >= %u.\n", refcount, expected_refcount);
|
||||||
refcount = get_refcount((IUnknown *)factory);
|
refcount = get_refcount((IUnknown *)factory);
|
||||||
todo_wine ok(refcount == 4, "Got unexpected refcount %u.\n", refcount);
|
todo_wine ok(refcount == 4, "Got unexpected refcount %u.\n", refcount);
|
||||||
refcount = get_refcount((IUnknown *)device);
|
refcount = get_refcount((IUnknown *)device);
|
||||||
|
|
Loading…
Reference in New Issue