]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Fix compile of vid_glx.c after the update on hwgamma.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 5 Apr 2018 00:31:59 +0000 (00:31 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Thu, 5 Apr 2018 00:34:12 +0000 (20:34 -0400)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12360 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=45ba6dd4ce52ddd96c8706b335a7b15c57d457a3

vid_glx.c

index fc8766d8a1fbd5da371d76c3e17aad43faf6ee04..2fb5228898e45394fc90a5d6fe3981b742f2a430 100644 (file)
--- a/vid_glx.c
+++ b/vid_glx.c
@@ -961,8 +961,7 @@ void VID_Finish (void)
                        break;
        }
 
-       if (vid_x11_hardwaregammasupported)
-               VID_UpdateGamma();
+       VID_UpdateGamma();
 }
 
 void VID_Init(void)