Properly destroy SDL window

Fixes restoring desktop resolution on linux after game exit. See #17
This commit is contained in:
Jan Šimek 2022-06-05 21:31:43 +02:00
parent a3390819d1
commit 28a98863b5
1 changed files with 2 additions and 0 deletions

View File

@ -265,6 +265,8 @@ void windowManagerExit(void)
textFontsExit();
_colorsClose();
SDL_DestroyWindow(gSdlWindow);
gWindowSystemInitialized = false;
#ifdef _WIN32