mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-29 08:35:42 -04: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…
x
Reference in New Issue
Block a user