diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index ed4fe2951..a46aafdae 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -2187,16 +2187,11 @@ void I_ShutdownGraphics(void) graphics_started = false; I_OutputMsg("shut down\n"); - #ifdef HWRENDER - if (vid.glstate == VID_GL_LIBRARY_LOADED) - HWR_Shutdown(); - if (sdlglcontext) SDL_GL_DestroyContext(sdlglcontext); sdlglcontext = NULL; #endif - if (texture) SDL_DestroyTexture(texture); texture = NULL;