remove hwr_shutdown call
honestly this didnt help with the issue i had, game should already release all the memory on quit anyways. this just makes it take longer to quit
This commit is contained in:
1 parent
22a6be76b5
commit
c50c936b1f
1 file changed
-5
@@ -1997,16 +1997,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_DeleteContext(sdlglcontext);
|
||||
sdlglcontext = NULL;
|
||||
#endif
|
||||
|
||||
if (texture)
|
||||
SDL_DestroyTexture(texture);
|
||||
texture = NULL;
|
||||
|
||||
Reference in new issue
Block a user