mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-18 14:25:38 +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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_d3d12_context->ExecuteCommandList(true);
|
||||||
DestroySwapChainRTVs();
|
DestroySwapChainRTVs();
|
||||||
m_swap_chain.Reset();
|
m_swap_chain.Reset();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue