GSRunner: Fix imgui breaking if skip dupe frames is on

This commit is contained in:
Connor McLaughlin 2022-12-01 01:48:53 +10:00 committed by refractionpcsx2
parent c12422b2cd
commit bb7ab5690c
1 changed files with 6 additions and 1 deletions

View File

@ -294,7 +294,12 @@ VsyncMode Host::GetEffectiveVSyncMode()
bool Host::BeginPresentFrame(bool frame_skip)
{
return g_host_display->BeginPresent(frame_skip);
if (g_host_display->BeginPresent(frame_skip))
return true;
// don't render imgui
ImGuiManager::NewFrame();
return false;
}
void Host::EndPresentFrame()