vid_gamma now seems to work :)

This commit is contained in:
Bill Currie 2001-04-23 04:16:17 +00:00
parent bd06625c55
commit 6a75c4e00d
12 changed files with 19 additions and 37 deletions

View file

@ -273,7 +273,10 @@ V_CheckGamma (void)
{
static float oldbrightness;
static float oldcontrast;
static float oldgamma;
if (oldgamma != vid_gamma->value)
VID_UpdateGamma (vid_gamma);
if ((brightness->value == oldbrightness) && contrast->value == oldcontrast)
return false;
oldbrightness = brightness->value;