From 177b4569cb798d8b292c66a93b42bf3224f9fdb7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 Jun 2012 15:05:43 +0300 Subject: Fix compilation with debugging flags and show additional info on exit. --- src/client.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/client.cpp') 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; -- cgit v1.2.3-60-g2f50