mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 07:16:53 +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:
parent
8aeca16ca5
commit
8ddf8daa52
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue