summaryrefslogtreecommitdiff
path: root/src/gui/debugwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-23 22:39:54 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-24 15:05:41 +0300
commite8fc638b750514ec264598df79a409da97493816 (patch)
treef6530b6f1f1b56ab8a8131a472748db5d640fac3 /src/gui/debugwindow.cpp
parentd553924a7f8c911d944207f7431b7e0ebd2b0fe8 (diff)
downloadmanaplus-e8fc638b750514ec264598df79a409da97493816.tar.gz
manaplus-e8fc638b750514ec264598df79a409da97493816.tar.bz2
manaplus-e8fc638b750514ec264598df79a409da97493816.tar.xz
manaplus-e8fc638b750514ec264598df79a409da97493816.zip
Fix code style.
Diffstat (limited to 'src/gui/debugwindow.cpp')
-rw-r--r--src/gui/debugwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/debugwindow.cpp b/src/gui/debugwindow.cpp
index 6e11f83c5..04889d725 100644
--- a/src/gui/debugwindow.cpp
+++ b/src/gui/debugwindow.cpp
@@ -196,7 +196,9 @@ MapDebugTab::MapDebugTab(const Widget2 *const widget) :
place(0, 7, mParticleCountLabel, 2);
place(0, 8, mMapActorCountLabel, 2);
#ifdef USE_OPENGL
+#if defined (DEBUG_OPENGL_LEAKS) || defined(DEBUG_DRAW_CALLS)
int n = 9;
+#endif
#ifdef DEBUG_OPENGL_LEAKS
mTexturesLabel = new Label(this, strprintf("%s %s",
_("Textures count:"), "?"));