From 998d68a833918d2ea10b10e5f4a70b23d1f80c6d Mon Sep 17 00:00:00 2001 From: Ragnvald Maartmann-Moe IV Date: Wed, 2 Oct 2002 04:15:23 +0000 Subject: [PATCH] In GL, have `r_speeds 1` display particle count. --- libs/video/renderer/gl/gl_screen.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/video/renderer/gl/gl_screen.c b/libs/video/renderer/gl/gl_screen.c index 59327230f..5063f5f94 100644 --- a/libs/video/renderer/gl/gl_screen.c +++ b/libs/video/renderer/gl/gl_screen.c @@ -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 ();