1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

d3d12/tests: Allow a broken Windows 10 1709 hresult.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54298
This commit is contained in:
Francois Gouget 2023-01-13 13:08:49 +01:00 committed by Alexandre Julliard
parent 8aeca16ca5
commit 8ddf8daa52

View File

@ -1409,7 +1409,8 @@ static void test_desktop_window(void)
swapchain_desc.Width = rect.right;
swapchain_desc.Height = rect.bottom;
hr = IDXGIFactory4_CreateSwapChainForHwnd(factory, queue, window, &swapchain_desc, NULL, NULL, &swapchain);
ok(hr == E_ACCESSDENIED, "Got unexpected hr %#lx.\n", hr);
ok(hr == E_ACCESSDENIED || broken(hr == E_OUTOFMEMORY /* win10 1709 */),
"Got unexpected hr %#lx.\n", hr);
IDXGIFactory4_Release(factory);
destroy_test_context(&context);