fix ENDOOM crash

This commit is contained in:
Roman Fomin 2024-02-21 11:17:06 +07:00
parent 0c2e248f8b
commit 07206637eb
2 changed files with 2 additions and 2 deletions

View File

@ -40,6 +40,8 @@ void I_Quit(void)
{
int i;
SDL_QuitSubSystem(SDL_INIT_VIDEO);
SDL_Quit();
if (!tempdirs)

View File

@ -1680,8 +1680,6 @@ void I_ShutdownGraphics(void)
}
UpdateGrab();
SDL_QuitSubSystem(SDL_INIT_VIDEO);
}
void I_InitGraphics(void)