From d1b6556bd125f52744ff12b8dd2e644a1515205f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 17 Jul 2017 19:27:22 +0300 Subject: Do actual SDL2 graphics cleanup before exit. --- src/dyetool/client.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/dyetool') diff --git a/src/dyetool/client.cpp b/src/dyetool/client.cpp index 0a03c4c68..8ed409a0a 100644 --- a/src/dyetool/client.cpp +++ b/src/dyetool/client.cpp @@ -492,6 +492,11 @@ void Client::gameClear() logger->log("textures left: %d", textures_count); #endif // DEBUG_OPENGL_LEAKS + Graphics::cleanUp(); + + if (logger != nullptr) + logger->log1("Quitting12"); + // delete2(chatLogger); TranslationManager::close(); VirtFs::deinit(); -- cgit v1.2.3-70-g09d2