git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6482
d7cf8633-e32d-0410-b094-
e92efae38249
{
cvar_t *c;
float f;
- static int forcenextframe = false;
// LordHavoc: don't mess with gamma tables if running dedicated
if (cls.state == ca_dedicated)
cachecolorenable = v_color_enable.integer;
cachehwgamma = vid_activewindow && v_hwgamma.integer;
- forcenextframe = false;
+ gamma_forcenextframe = false;
if (cachehwgamma)
{
static float n[3], nd[3], nt[3];
static int init = true;
unsigned short *ramp;
- forcenextframe = true;
+ gamma_forcenextframe = true;
if (init)
{
init = false;