diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-30 15:05:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-30 15:06:56 +0300 |
commit | 177b4569cb798d8b292c66a93b42bf3224f9fdb7 (patch) | |
tree | c2af5f8511eb309bb35e7808fffb11062ba7b910 /src/client.cpp | |
parent | 49ef874d739f7d9da226424935f65da2a342c6bb (diff) | |
download | manaverse-177b4569cb798d8b292c66a93b42bf3224f9fdb7.tar.gz manaverse-177b4569cb798d8b292c66a93b42bf3224f9fdb7.tar.bz2 manaverse-177b4569cb798d8b292c66a93b42bf3224f9fdb7.tar.xz manaverse-177b4569cb798d8b292c66a93b42bf3224f9fdb7.zip |
Fix compilation with debugging flags and show additional info on 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 3efd9c593..79ec041ba 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -780,6 +780,11 @@ void Client::gameClear() if (logger) logger->log1("Quitting11"); +#ifdef DEBUG_OPENGL_LEAKS + if (logger) + logger->log("textures left: %d", textures_count); +#endif + delete chatLogger; chatLogger = nullptr; |