mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-18 06:25:37 +00:00
D3D12HostDisplay: Fix possible panic on fullscreen switch
This commit is contained in:
parent
3cc7802897
commit
a747e15ac7
|
@ -545,6 +545,7 @@ bool D3D12HostDisplay::SetFullscreen(bool fullscreen, u32 width, u32 height, flo
|
|||
return true;
|
||||
}
|
||||
|
||||
g_d3d12_context->ExecuteCommandList(true);
|
||||
DestroySwapChainRTVs();
|
||||
m_swap_chain.Reset();
|
||||
|
||||
|
|
Loading…
Reference in a new issue