]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
make vid_glx also clear fullscreen properly
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 5 Apr 2011 18:06:10 +0000 (18:06 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 5 Apr 2011 18:06:10 +0000 (18:06 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11028 d7cf8633-e32d-0410-b094-e92efae38249

vid_glx.c

index 26b63dbacc1f5b0aaa5dd5cf4498fe588e388d7b..ca0462d1309f613948974d61f2b61161e3b84446 100644 (file)
--- a/vid_glx.c
+++ b/vid_glx.c
@@ -829,7 +829,7 @@ void *GL_GetProcAddress(const char *name)
 
 void VID_Shutdown(void)
 {
-       if (!ctx || !vidx11_display)
+       if (!vidx11_display)
                return;
 
        VID_SetMouse(false, false, false);