- 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:
Mitchell Richters 2021-07-24 15:28:58 +10:00
parent 56d313f08d
commit a68d5aae70
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{