- cleaned up the gamma correction code.

This had accumulated quite a bit of cruft by now and parts of it should be in non OpenGL code.
This commit is contained in:
Christoph Oelckers 2018-04-29 13:45:53 +02:00
commit 06d20e13b8
7 changed files with 43 additions and 53 deletions

View file

@ -73,7 +73,7 @@ CUSTOM_CVAR (Float, Gamma, 1.f, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
if (screen != NULL)
{
screen->SetGamma (self);
screen->SetGamma ();
}
}