D3D12HostDisplay: Fix possible panic on fullscreen switch

pull/2436/head
Connor McLaughlin 4 years ago
parent 3cc7802897
commit a747e15ac7

@ -545,6 +545,7 @@ bool D3D12HostDisplay::SetFullscreen(bool fullscreen, u32 width, u32 height, flo
return true; return true;
} }
g_d3d12_context->ExecuteCommandList(true);
DestroySwapChainRTVs(); DestroySwapChainRTVs();
m_swap_chain.Reset(); m_swap_chain.Reset();

Loading…
Cancel
Save