- added a vid_saturation control - works in postprocessing, only.

This commit is contained in:
Rachael Alexanderson 2017-06-25 19:33:07 -04:00
commit 63da6e70c0
6 changed files with 18 additions and 1 deletions

View file

@ -73,6 +73,14 @@ CUSTOM_CVAR (Float, vid_contrast, 1.f, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
}
}
CUSTOM_CVAR (Float, vid_saturation, 1.f, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
{
if (screen != NULL)
{
screen->SetGamma(Gamma); //SetContrast (self);
}
}
// Do some tinkering with the menus so that certain options only appear
// when they are actually valid.