Józef Kucia : dxgi/tests: Accept higher adapter refcounts in test_create_swapchain().
Module: wine Branch: master Commit: c9d9e5fd239171bbeb4b90b7f1f7df0a6e564de5 URL: https://source.winehq.org/git/wine.git/?a=commit;h=c9d9e5fd239171bbeb4b90b7f... Author: Józef Kucia <jkucia(a)codeweavers.com> Date: Tue Jan 30 15:54:59 2018 +0100 dxgi/tests: Accept higher adapter refcounts in test_create_swapchain(). Signed-off-by: Józef Kucia <jkucia(a)codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/dxgi/tests/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dxgi/tests/device.c b/dlls/dxgi/tests/device.c index 140e264..58c3bba 100644 --- a/dlls/dxgi/tests/device.c +++ b/dlls/dxgi/tests/device.c @@ -1126,7 +1126,7 @@ static void test_create_swapchain(void) ok(SUCCEEDED(hr), "Failed to create swapchain, hr %#x.\n", hr); 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); todo_wine ok(refcount == 4, "Got unexpected refcount %u.\n", refcount); refcount = get_refcount((IUnknown *)device);
participants (1)
-
Alexandre Julliard