diff options
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/mobileopenglgraphics.h | 2 | ||||
-rw-r--r-- | src/render/normalopenglgraphics.h | 4 | ||||
-rw-r--r-- | src/render/nullopenglgraphics.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/render/mobileopenglgraphics.h b/src/render/mobileopenglgraphics.h index 75b1b3371..5e97dc6d1 100644 --- a/src/render/mobileopenglgraphics.h +++ b/src/render/mobileopenglgraphics.h @@ -182,7 +182,7 @@ class MobileOpenGLGraphics final : public Graphics void updateTextureFormat(); #ifdef DEBUG_DRAW_CALLS - virtual unsigned int getDrawCalls() const + unsigned int getDrawCalls() const { return mLastDrawCalls; } static unsigned int mDrawCalls; diff --git a/src/render/normalopenglgraphics.h b/src/render/normalopenglgraphics.h index 737cb9718..0ba29a141 100644 --- a/src/render/normalopenglgraphics.h +++ b/src/render/normalopenglgraphics.h @@ -190,7 +190,7 @@ class NormalOpenGLGraphics final : public Graphics void updateTextureFormat(); #ifdef DEBUG_DRAW_CALLS - virtual unsigned int getDrawCalls() const + unsigned int getDrawCalls() const { return mLastDrawCalls; } static unsigned int mDrawCalls; @@ -198,7 +198,7 @@ class NormalOpenGLGraphics final : public Graphics static unsigned int mLastDrawCalls; #endif #ifdef DEBUG_BIND_TEXTURE - virtual unsigned int getBinds() const + unsigned int getBinds() const { return mLastBinds; } #endif static void bindTexture(const GLenum target, const GLuint texture); diff --git a/src/render/nullopenglgraphics.h b/src/render/nullopenglgraphics.h index 0f27590be..588bf0283 100644 --- a/src/render/nullopenglgraphics.h +++ b/src/render/nullopenglgraphics.h @@ -190,7 +190,7 @@ class NullOpenGLGraphics final : public Graphics void updateTextureFormat(); #ifdef DEBUG_DRAW_CALLS - virtual unsigned int getDrawCalls() const + unsigned int getDrawCalls() const { return mLastDrawCalls; } static unsigned int mDrawCalls; |