mirror of https://github.com/PCSX2/pcsx2.git
GSRunner: Fix imgui breaking if skip dupe frames is on
This commit is contained in:
parent
c12422b2cd
commit
bb7ab5690c
|
@ -294,7 +294,12 @@ VsyncMode Host::GetEffectiveVSyncMode()
|
||||||
|
|
||||||
bool Host::BeginPresentFrame(bool frame_skip)
|
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()
|
void Host::EndPresentFrame()
|
||||||
|
|
Loading…
Reference in New Issue