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 fc8766d..2fb5228 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)