From 649e60e1cb164a4d19e6630f219e514fef68eeac Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 15 Dec 2004 19:40:45 +0000 Subject: [PATCH] Added some profiling code. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@648 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/view.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/engine/client/view.c b/engine/client/view.c index e9fd83c44..3325085a1 100644 --- a/engine/client/view.c +++ b/engine/client/view.c @@ -641,6 +641,8 @@ void GLV_UpdatePalette (void) float hwg; + RSpeedMark(); + V_CalcPowerupCshift (); // drop the damage value @@ -680,7 +682,10 @@ void GLV_UpdatePalette (void) } if (!new && !force) + { + RSpeedEnd(RSPEED_PALETTEFLASHES); return; + } GLV_CalcBlend (); @@ -716,6 +721,8 @@ void GLV_UpdatePalette (void) { Con_DPrintf("Gamma working state %i\n", gammaworks); } + + RSpeedEnd(RSPEED_PALETTEFLASHES); } #endif /*