System: Move present skip check to core
This commit is contained in:
@ -650,9 +650,9 @@ bool D3D12HostDisplay::UpdateImGuiFontTexture()
|
||||
return ImGui_ImplDX12_CreateFontsTexture();
|
||||
}
|
||||
|
||||
bool D3D12HostDisplay::Render()
|
||||
bool D3D12HostDisplay::Render(bool skip_present)
|
||||
{
|
||||
if (ShouldSkipDisplayingFrame() || !m_swap_chain)
|
||||
if (skip_present || !m_swap_chain)
|
||||
{
|
||||
if (ImGui::GetCurrentContext())
|
||||
ImGui::Render();
|
||||
|
||||
Reference in New Issue
Block a user