summaryrefslogtreecommitdiff
path: root/src/mobileopenglgraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mobileopenglgraphics.h')
-rw-r--r--src/mobileopenglgraphics.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mobileopenglgraphics.h b/src/mobileopenglgraphics.h
index 4402904b7..046fb1f0e 100644
--- a/src/mobileopenglgraphics.h
+++ b/src/mobileopenglgraphics.h
@@ -155,6 +155,15 @@ class MobileOpenGLGraphics final : public Graphics
void updateTextureFormat();
+#ifdef DEBUG_DRAW_CALLS
+ virtual unsigned int getDrawCalls() const
+ { return mLastDrawCalls; }
+
+ static unsigned int mDrawCalls;
+
+ static unsigned int mLastDrawCalls;
+#endif
+
static void bindTexture(GLenum target, GLuint texture);
static GLuint mLastImage;