mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- Add leading zero to statFPS()
output (vid_fps
) so that the text doesn't bounce continually when alternating between 10 ms and <10 ms.
This commit is contained in:
parent
56d313f08d
commit
a68d5aae70
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ static FString statFPS()
|
|||
frameCount++;
|
||||
if (frameDelay >= 0)
|
||||
{
|
||||
output.AppendFormat("%5.1f fps (%.1f ms)\n", lastFPS, frameDelay);
|
||||
output.AppendFormat("%5.1f fps (%04.1f ms)\n", lastFPS, frameDelay);
|
||||
|
||||
if (cumulativeFrameDelay >= 1000.0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue