From e6dfce21c9f891adb34b19c8039e1b3719b0c8a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C5=A0imek?= Date: Sun, 5 Jun 2022 22:21:28 +0200 Subject: [PATCH] Properly destroy SDL window (#34) --- src/window_manager.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/window_manager.cc b/src/window_manager.cc index d7bc980..217ea94 100644 --- a/src/window_manager.cc +++ b/src/window_manager.cc @@ -265,6 +265,8 @@ void windowManagerExit(void) textFontsExit(); _colorsClose(); + SDL_DestroyWindow(gSdlWindow); + gWindowSystemInitialized = false; #ifdef _WIN32