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:
Józef Kucia 2018-01-30 15:54:59 +01:00 committed by Alexandre Julliard
parent f334ab293e
commit c9d9e5fd23
1 changed files with 1 additions and 1 deletions

View File

@ -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);