summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-26 13:54:12 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-26 14:41:36 +0300
commit851cc4e95093cb7bd1adce99be95a864d68f8d38 (patch)
tree50096efbfea146de63432ca95d1faacdbd62df80 /src/render
parent476a73f07d4dae7f0cc3c79a44fbd2c2f8c4bf5f (diff)
downloadplus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.gz
plus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.bz2
plus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.xz
plus-851cc4e95093cb7bd1adce99be95a864d68f8d38.zip
remove useless virtual keywords.
Diffstat (limited to 'src/render')
-rw-r--r--src/render/mobileopenglgraphics.h2
-rw-r--r--src/render/normalopenglgraphics.h4
-rw-r--r--src/render/nullopenglgraphics.h2
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;