]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_glx.c
Remove v_glslgamma cvar (now assumed to be 1) and corresponding code like R_DrawGamma.
[xonotic/darkplaces.git] / vid_glx.c
index fc8766d8a1fbd5da371d76c3e17aad43faf6ee04..4c5c9c9d02f6b5b852b5dce49712289cd66a015d 100644 (file)
--- a/vid_glx.c
+++ b/vid_glx.c
@@ -881,7 +881,6 @@ void VID_Shutdown(void)
        ctx = NULL;
 
        GL_CloseLibrary();
-       Key_ClearStates ();
 }
 
 static void signal_handler(int sig)
@@ -961,8 +960,7 @@ void VID_Finish (void)
                        break;
        }
 
-       if (vid_x11_hardwaregammasupported)
-               VID_UpdateGamma();
+       VID_UpdateGamma();
 }
 
 void VID_Init(void)