From 8f02a9c5d9d478f50956e975098fe0b8adaa9340 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 1 Mar 2008 06:45:32 +0000 Subject: [PATCH] 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 --- vid_sdl.c | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.39.2