- I_FPSTime may not return the time at frame start.

This is used for real-time profiling and as such needs to return the current time or most of its uses will break.
This commit is contained in:
Christoph Oelckers 2017-11-12 23:39:48 +01:00
commit f54475b1f1
2 changed files with 4 additions and 7 deletions

View file

@ -142,10 +142,7 @@ uint64_t I_NSTime()
uint64_t I_FPSTimeNS()
{
if (FreezeTime == 0)
return CurrentFrameStartTime;
else
return GetClockTimeNS();
return GetClockTimeNS();
}
unsigned int I_MSTime()