1
0
Fork 0

Change: Zero out the gameloop timers when the game is paused

pull/8795/head
Charles Pigott 2021-02-28 21:28:21 +00:00
parent ef5cea0e06
commit 64686b53ff
1 changed files with 1 additions and 0 deletions

View File

@ -274,6 +274,7 @@ void PerformanceMeasurer::SetExpectedRate(double rate)
*/
/* static */ void PerformanceMeasurer::Paused(PerformanceElement elem)
{
PerformanceMeasurer::SetInactive(elem);
_pf_data[elem].AddPause(GetPerformanceTimer());
}