=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: dxgi/tests: Accept higher adapter refcounts in test_create_swapchain().
Alexandre Julliard
julliard at winehq.org
Tue Jan 30 14:38:15 CST 2018
Module: wine
Branch: master
Commit: c9d9e5fd239171bbeb4b90b7f1f7df0a6e564de5
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c9d9e5fd239171bbeb4b90b7f1f7df0a6e564de5
Author: Józef Kucia <jkucia at 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 at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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);
More information about the wine-cvs
mailing list