mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-30 16:50:48 +00:00
vid_gamma now seems to work :)
This commit is contained in:
parent
bd06625c55
commit
6a75c4e00d
12 changed files with 19 additions and 37 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue