- 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:
parent
93e9c383fa
commit
f54475b1f1
2 changed files with 4 additions and 7 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue