]> 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)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 5 Apr 2018 00:31:59 +0000 (00:31 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12360 d7cf8633-e32d-0410-b094-e92efae38249

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)