- added a grayscale formula selector
This commit is contained in:
parent
a2c9cb8156
commit
0d8b7c55ef
6 changed files with 21 additions and 2 deletions
|
|
@ -77,7 +77,15 @@ CUSTOM_CVAR (Float, vid_saturation, 1.f, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
|
|||
{
|
||||
if (screen != NULL)
|
||||
{
|
||||
screen->SetGamma(Gamma); //SetContrast (self);
|
||||
screen->SetGamma(Gamma);
|
||||
}
|
||||
}
|
||||
|
||||
CUSTOM_CVAR(Int, gl_satformula, 1, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
|
||||
{
|
||||
if (screen != NULL)
|
||||
{
|
||||
screen->SetGamma(Gamma);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue