From 851cc4e95093cb7bd1adce99be95a864d68f8d38 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 26 Sep 2013 13:54:12 +0300 Subject: remove useless virtual keywords. --- src/render/mobileopenglgraphics.h | 2 +- src/render/normalopenglgraphics.h | 4 ++-- src/render/nullopenglgraphics.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/render') 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; -- cgit v1.2.3-60-g2f50