summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
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;