Fix some timer calls
This commit is contained in:
1 parent
a11bf19b93
commit
68b5270fe4
4 files changed
+5
-5
No files matched your search
+1
-1
@@ -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