summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-14 16:35:57 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-14 16:35:57 +0300
commit750d3348b363716cf82136c337dac5da06bf5390 (patch)
tree29aed9c17d6121f77f9a48a0c570954d79a5aa81 /src/graphics.h
parent595cd8cf3c1013f2ae20b118655f667a6c24c452 (diff)
downloadmanaverse-750d3348b363716cf82136c337dac5da06bf5390.tar.gz
manaverse-750d3348b363716cf82136c337dac5da06bf5390.tar.bz2
manaverse-750d3348b363716cf82136c337dac5da06bf5390.tar.xz
manaverse-750d3348b363716cf82136c337dac5da06bf5390.zip
add into texture bind dubugging also bind count.
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/graphics.h b/src/graphics.h
index 705a98ff6..03dd5ea2e 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -357,6 +357,10 @@ class Graphics : public gcn::SDLGraphics
virtual unsigned int getDrawCalls() const
{ return 0; }
#endif
+#ifdef DEBUG_BIND_TEXTURE
+ virtual unsigned int getBinds() const
+ { return 0; }
+#endif
int mWidth;
int mHeight;