Properly destroy SDL window
Fixes restoring desktop resolution on linux after game exit. See #17
This commit is contained in:
parent
a3390819d1
commit
28a98863b5
|
@ -265,6 +265,8 @@ void windowManagerExit(void)
|
|||
textFontsExit();
|
||||
_colorsClose();
|
||||
|
||||
SDL_DestroyWindow(gSdlWindow);
|
||||
|
||||
gWindowSystemInitialized = false;
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
Loading…
Reference in New Issue