mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
improve the timedemo fps output a little
This commit is contained in:
parent
e36ce15b5c
commit
34d2e0163c
2 changed files with 4 additions and 4 deletions
|
@ -373,8 +373,8 @@ CL_FinishTimeDemo (void)
|
|||
time = realtime - cls.td_starttime;
|
||||
if (!time)
|
||||
time = 1;
|
||||
Con_Printf ("%i frames %5.2f seconds %5.2f fps\n", frames, time,
|
||||
frames / time);
|
||||
Con_Printf ("%i frame%s %.4g seconds %.4g fps\n", frames,
|
||||
frames == 1 ? "" : "s", time, frames / time);
|
||||
if (--timedemo_count > 0)
|
||||
CL_StartTimeDemo ();
|
||||
}
|
||||
|
|
|
@ -975,8 +975,8 @@ CL_FinishTimeDemo (void)
|
|||
time = Sys_DoubleTime () - cls.td_starttime;
|
||||
if (!time)
|
||||
time = 1;
|
||||
Con_Printf ("%i frames %5.2f seconds %5.2f fps\n", frames, time,
|
||||
frames / time);
|
||||
Con_Printf ("%i frame%s %.4g seconds %.4g fps\n", frames,
|
||||
frames == 1 ? "" : "s", time, frames / time);
|
||||
|
||||
CL_TimeFrames_DumpLog ();
|
||||
demo_timeframes_isactive = 0;
|
||||
|
|
Loading…
Reference in a new issue