mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-14 11:50:49 +00:00
- Change a68d5aae70
to not do a leading zero, but add an extra space of frameDelay
less than 10.
* Thanks, Graf. It's better :)
This commit is contained in:
parent
8e8b3a32fe
commit
ef05eec531
1 changed files with 3 additions and 1 deletions
|
@ -107,7 +107,9 @@ static FString statFPS()
|
|||
frameCount++;
|
||||
if (frameDelay >= 0)
|
||||
{
|
||||
output.AppendFormat("%5.1f fps (%04.1f ms)\n", lastFPS, frameDelay);
|
||||
output.AppendFormat("%5.1f fps", lastFPS);
|
||||
if (frameDelay < 10) output.AppendFormat(" ");
|
||||
output.AppendFormat(" (%.1f ms)\n", frameDelay);
|
||||
|
||||
if (cumulativeFrameDelay >= 1000.0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue