Added some profiling code.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@648 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-12-15 19:40:45 +00:00
parent 2cdaa69fe2
commit 649e60e1cb
1 changed files with 7 additions and 0 deletions

View File

@ -641,6 +641,8 @@ void GLV_UpdatePalette (void)
float hwg; float hwg;
RSpeedMark();
V_CalcPowerupCshift (); V_CalcPowerupCshift ();
// drop the damage value // drop the damage value
@ -680,7 +682,10 @@ void GLV_UpdatePalette (void)
} }
if (!new && !force) if (!new && !force)
{
RSpeedEnd(RSPEED_PALETTEFLASHES);
return; return;
}
GLV_CalcBlend (); GLV_CalcBlend ();
@ -716,6 +721,8 @@ void GLV_UpdatePalette (void)
{ {
Con_DPrintf("Gamma working state %i\n", gammaworks); Con_DPrintf("Gamma working state %i\n", gammaworks);
} }
RSpeedEnd(RSPEED_PALETTEFLASHES);
} }
#endif #endif
/* /*