From c50c936b1f51b60f778bc2bb4ac43c4056c760b1 Mon Sep 17 00:00:00 2001 From: Alug Date: Sun, 30 Nov 2025 20:28:35 +0100 Subject: [PATCH] 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 --- src/sdl/i_video.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index 1aba4f109..c2d87e3f1 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -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;