mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
In GL, have r_speeds 1
display particle count.
This commit is contained in:
parent
9aa84f4ead
commit
998d68a833
1 changed files with 3 additions and 2 deletions
|
@ -58,6 +58,7 @@ static const char rcsid[] =
|
|||
|
||||
#include "compat.h"
|
||||
#include "r_cvar.h"
|
||||
#include "r_dynamic.h"
|
||||
#include "r_local.h"
|
||||
#include "sbar.h"
|
||||
#include "view.h"
|
||||
|
@ -853,9 +854,9 @@ SCR_UpdateScreen (double realtime, SCR_Func *scr_funcs)
|
|||
if (r_speeds->int_val) {
|
||||
// qfglFinish ();
|
||||
time2 = Sys_DoubleTime ();
|
||||
Con_Printf ("%3i ms %4i wpoly %4i epoly\n",
|
||||
Con_Printf ("%3i ms %4i wpoly %4i epoly %4i parts\n",
|
||||
(int) ((time2 - time1) * 1000), c_brush_polys,
|
||||
c_alias_polys);
|
||||
c_alias_polys, numparticles);
|
||||
}
|
||||
|
||||
GL_FlushText ();
|
||||
|
|
Loading…
Reference in a new issue