mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 19:15:45 -04:00
D3D12HostDisplay: Fix headless rendering
This commit is contained in:
@ -661,7 +661,7 @@ bool D3D12HostDisplay::UpdateImGuiFontTexture()
|
||||
|
||||
bool D3D12HostDisplay::Render()
|
||||
{
|
||||
if (ShouldSkipDisplayingFrame())
|
||||
if (ShouldSkipDisplayingFrame() || !m_swap_chain)
|
||||
{
|
||||
if (ImGui::GetCurrentContext())
|
||||
ImGui::Render();
|
||||
|
Reference in New Issue
Block a user