mirror of https://github.com/PCSX2/pcsx2.git
GS: Reset performance counters on renderer switch
Resets performance counters on renderer switch.
This commit is contained in:
parent
cd4434135e
commit
64a6d8027b
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue