mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
instant showing of fps (show_fps 4)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@993 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
834cb34306
commit
a719bc1cf2
1 changed files with 5 additions and 0 deletions
|
@ -1009,6 +1009,11 @@ void SCR_DrawFPS (void)
|
|||
lastframetime = t;
|
||||
}
|
||||
}
|
||||
else if (show_fps.value == 4) //alternate mode that displays the highest noticed
|
||||
{
|
||||
lastfps = 1/host_frametime;
|
||||
lastframetime = t;
|
||||
}
|
||||
|
||||
sprintf(str, "%3.1f FPS", lastfps);
|
||||
SCR_StringXY(str, show_fps_x.value, show_fps_y.value);
|
||||
|
|
Loading…
Reference in a new issue