diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-17 19:27:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-17 20:30:23 +0300 |
commit | d1b6556bd125f52744ff12b8dd2e644a1515205f (patch) | |
tree | 6beaf0721bb5293643f3f2fdc1d2ed4287b12b5f /src/dyetool | |
parent | 4ecdb004e81a459ea63ebd7127e1c945df43f9ce (diff) | |
download | ManaVerse-d1b6556bd125f52744ff12b8dd2e644a1515205f.tar.gz ManaVerse-d1b6556bd125f52744ff12b8dd2e644a1515205f.tar.bz2 ManaVerse-d1b6556bd125f52744ff12b8dd2e644a1515205f.tar.xz ManaVerse-d1b6556bd125f52744ff12b8dd2e644a1515205f.zip |
Do actual SDL2 graphics cleanup before exit.
Diffstat (limited to 'src/dyetool')
-rw-r--r-- | src/dyetool/client.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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(); |