From: havoc Date: Sat, 1 Mar 2008 06:45:32 +0000 (+0000) Subject: clear some variables when VID_Shutdown is called (the other 3 vid X-Git-Tag: xonotic-v0.1.0preview~2356 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8f02a9c5d9d478f50956e975098fe0b8adaa9340;p=xonotic%2Fdarkplaces.git clear some variables when VID_Shutdown is called (the other 3 vid modules already did this) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8168 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_sdl.c b/vid_sdl.c index 3654b448..ebea6867 100644 --- a/vid_sdl.c +++ b/vid_sdl.c @@ -787,6 +787,11 @@ void VID_Shutdown (void) IN_Activate(false); SDL_QuitSubSystem(SDL_INIT_VIDEO); + + gl_driver[0] = 0; + gl_extensions = ""; + gl_platform = ""; + gl_platformextensions = ""; } int VID_SetGamma (unsigned short *ramps, int rampsize)