This should fix the recent windows gamma issues.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1591 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-11-26 21:13:45 +00:00
parent 2b20b34f25
commit ebcaac9a08
1 changed files with 3 additions and 0 deletions

View File

@ -1116,6 +1116,7 @@ void GLAppActivate(BOOL fActive, BOOL minimize)
}
v_gamma.modified = true; //so that we can start doing palette flashes and things
gammaworks = true;
}
if (!fActive)
@ -1146,6 +1147,8 @@ void GLAppActivate(BOOL fActive, BOOL minimize)
else
gammaworks = SetDeviceGammaRamp(maindc, originalgammaramps);
}
vid_hardwaregamma.modified = true;
}