1
0
mirror of https://github.com/td512/re3.git synced 2026-05-26 01:07:16 +00:00

Fix some timer calls

This commit is contained in:
Sergeanur
2021-06-05 13:13:27 +03:00
parent 3aac4ea62a
commit 776e8ff2ee
4 changed files with 5 additions and 5 deletions

View File

@@ -1149,7 +1149,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