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/client.cpp | |
parent | 4ecdb004e81a459ea63ebd7127e1c945df43f9ce (diff) | |
download | mv-d1b6556bd125f52744ff12b8dd2e644a1515205f.tar.gz mv-d1b6556bd125f52744ff12b8dd2e644a1515205f.tar.bz2 mv-d1b6556bd125f52744ff12b8dd2e644a1515205f.tar.xz mv-d1b6556bd125f52744ff12b8dd2e644a1515205f.zip |
Do actual SDL2 graphics cleanup before exit.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index 1838398d4..5867c9474 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -730,6 +730,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(); } |