GS: Reset performance counters on renderer switch

Resets performance counters on renderer switch.
This commit is contained in:
JordanTheToaster 2023-04-08 12:28:46 +01:00 committed by refractionpcsx2
parent cd4434135e
commit 64a6d8027b
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,6 @@ static bool OpenGSDevice(GSRendererType renderer, bool clear_state_on_fail, bool
// Switch to exclusive fullscreen if enabled.
UpdateExclusiveFullscreen(false);
g_perfmon.Reset();
return true;
}
@ -277,6 +276,7 @@ static bool OpenGSRenderer(GSRendererType renderer, u8* basemem)
g_gs_renderer->SetRegsMem(basemem);
g_gs_renderer->ResetPCRTC();
g_perfmon.Reset();
return true;
}