mirror of
https://github.com/halpz/re3.git
synced 2025-07-25 15:22:47 +00:00
Fix some timer calls
This commit is contained in:
@ -1180,7 +1180,7 @@ DisplayGameDebugText()
|
||||
FramesPerSecondCounter += frameTime / 1000.f; // convert to seconds
|
||||
FramesPerSecond = FrameSamples / FramesPerSecondCounter;
|
||||
#else
|
||||
FramesPerSecondCounter += 1000.0f / (CTimer::GetTimeStepNonClippedInSeconds() * 1000.0f);
|
||||
FramesPerSecondCounter += 1000.0f / CTimer::GetTimeStepNonClippedInMilliseconds();
|
||||
FramesPerSecond = FramesPerSecondCounter / FrameSamples;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user