summaryrefslogtreecommitdiff
path: root/src/graphicsvertexes.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-30 01:19:46 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-30 13:11:34 +0300
commit6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (patch)
tree4a0a5fd220828b92ef96446fe38dbe67ff446c6c /src/graphicsvertexes.h
parent2a70a50c785ce639b76141a3a6887836d22fe12c (diff)
downloadManaVerse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz
ManaVerse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2
ManaVerse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz
ManaVerse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip
Add unused warnings to some files.
Diffstat (limited to 'src/graphicsvertexes.h')
-rw-r--r--src/graphicsvertexes.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/graphicsvertexes.h b/src/graphicsvertexes.h
index 6a2e30664..dbec25395 100644
--- a/src/graphicsvertexes.h
+++ b/src/graphicsvertexes.h
@@ -88,16 +88,16 @@ class NormalOpenGLGraphicsVertexes final
GLshort *switchShortVertArray();
- std::vector<GLfloat*> *getFloatTexPool()
+ std::vector<GLfloat*> *getFloatTexPool() A_WARN_UNUSED
{ return &mFloatTexPool; }
- std::vector<GLint*> *getIntVertPool()
+ std::vector<GLint*> *getIntVertPool() A_WARN_UNUSED
{ return &mIntVertPool; }
- std::vector<GLshort*> *getShortVertPool()
+ std::vector<GLshort*> *getShortVertPool() A_WARN_UNUSED
{ return &mShortVertPool; }
- std::vector<GLint*> *getIntTexPool()
+ std::vector<GLint*> *getIntTexPool() A_WARN_UNUSED
{ return &mIntTexPool; }
void switchVp(int n);
@@ -114,7 +114,7 @@ class NormalOpenGLGraphicsVertexes final
void updateVp(int n);
- std::vector<int> *getVp()
+ std::vector<int> *getVp() A_WARN_UNUSED
{ return &mVp; }
void init();
@@ -188,20 +188,20 @@ class GraphicsVertexes final
{ mPtr = num; }
#ifdef USE_OPENGL
- NormalOpenGLGraphicsVertexes &getOGL()
+ NormalOpenGLGraphicsVertexes &getOGL() A_WARN_UNUSED
{ return ogl[mPtr]; }
#endif
- int getX() const
+ int getX() const A_WARN_UNUSED
{ return mX; }
- int getY() const
+ int getY() const A_WARN_UNUSED
{ return mY; }
- int getW() const
+ int getW() const A_WARN_UNUSED
{ return mW; }
- int getH() const
+ int getH() const A_WARN_UNUSED
{ return mH; }
int mX, mY, mW, mH;