Signed-off-by: Conor McCarthy cmccarthy@codeweavers.com --- dlls/dxgi/swapchain.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/dxgi/swapchain.c b/dlls/dxgi/swapchain.c index 0a661273..af87c055 100644 --- a/dlls/dxgi/swapchain.c +++ b/dlls/dxgi/swapchain.c @@ -2913,6 +2913,7 @@ static HRESULT d3d12_swapchain_init(struct d3d12_swapchain *swapchain, IWineDXGI IDXGIAdapter_Release(adapter); if (FAILED(hr = wined3d_swapchain_desc_from_dxgi(&wined3d_desc, window, swapchain_desc, fullscreen_desc))) return hr; + wined3d_swapchain_desc_set_backbuffer_defaults(&wined3d_desc, window, dxgi_adapter->factory->wined3d, dxgi_adapter->ordinal);
/* For fullscreen swapchains, D3D12 changes the swapchain size to match the mode resolution. */ if (!fullscreen_desc->Windowed && FAILED(hr = d3d12_swapchain_desc_adjust_display_mode(window,