Commit 8ddf8daa authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent 8aeca16c
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment