Properly destroy SDL window (#34)

This commit is contained in:
Jan Šimek 2022-06-05 22:21:28 +02:00 committed by GitHub
parent a3390819d1
commit e6dfce21c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

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