From: divverent Date: Tue, 5 Apr 2011 18:06:10 +0000 (+0000) Subject: make vid_glx also clear fullscreen properly X-Git-Tag: xonotic-v0.6.0~163^2~518 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0068289941cd215a050fa2296c213a9ea3a25fce;p=xonotic%2Fdarkplaces.git make vid_glx also clear fullscreen properly git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11028 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_glx.c b/vid_glx.c index 26b63dba..ca0462d1 100644 --- 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);