[PATCH 6/6] dxgi/tests: Accept higher adapter refcounts in test_create_swapchain().
Józef Kucia
jkucia at codeweavers.com
Tue Jan 30 08:54:59 CST 2018
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
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 140e2647cc0c..58c3bba64230 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);
--
2.13.6
More information about the wine-devel
mailing list