D3D12HostDisplay: Fix possible panic on fullscreen switch

This commit is contained in:
Connor McLaughlin 2021-07-22 13:36:08 +10:00
parent 3cc7802897
commit a747e15ac7

View file

@ -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();