mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Fix an init issue with the earlier ATI workaround.
git-svn-id: https://svn.eduke32.com/eduke32@2094 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
3a089f894c
commit
3dd39c118d
1 changed files with 1 additions and 1 deletions
|
@ -2273,7 +2273,7 @@ int32_t setgamma(void)
|
|||
|
||||
// This formula is taken from Doomsday
|
||||
|
||||
if (!winlayer_uselastgamma)
|
||||
if (winlayer_uselastgamma <= 0)
|
||||
for (i = 0; i < 256; i++)
|
||||
{
|
||||
double val = i * contrast - (contrast - 1) * 127;
|
||||
|
|
Loading…
Reference in a new issue