summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-30 15:05:43 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-30 15:06:56 +0300
commit177b4569cb798d8b292c66a93b42bf3224f9fdb7 (patch)
treec2af5f8511eb309bb35e7808fffb11062ba7b910 /src/client.cpp
parent49ef874d739f7d9da226424935f65da2a342c6bb (diff)
downloadmanaverse-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.cpp5
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;