diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-11-20 13:29:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-11-20 22:21:59 +0300 |
commit | 6637f4af57cd60008388bfefda1c37376c9d7042 (patch) | |
tree | eb31d1c197c86583e5f2a525ca020de625f32919 /src/gui/debugwindow.h | |
parent | cadc0f8b6d0bd71f319c3e6576af05dcd0a7533f (diff) | |
download | manaverse-6637f4af57cd60008388bfefda1c37376c9d7042.tar.gz manaverse-6637f4af57cd60008388bfefda1c37376c9d7042.tar.bz2 manaverse-6637f4af57cd60008388bfefda1c37376c9d7042.tar.xz manaverse-6637f4af57cd60008388bfefda1c37376c9d7042.zip |
Add debug option to show draw calls per frame.
Also fix map draw and text in debug window with mobile OpenGL.
Diffstat (limited to 'src/gui/debugwindow.h')
-rw-r--r-- | src/gui/debugwindow.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/debugwindow.h b/src/gui/debugwindow.h index 5828269c3..62d7aa34f 100644 --- a/src/gui/debugwindow.h +++ b/src/gui/debugwindow.h @@ -72,6 +72,9 @@ class MapDebugTab final : public DebugTab Label *mXYLabel; Label *mTexturesLabel; int mUpdateTime; +#ifdef DEBUG_DRAW_CALLS + Label *mDrawCallsLabel; +#endif Label *mFPSLabel; Label *mLPSLabel; std::string mFPSText; |