summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.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/graphicsmanager.h
parent2a70a50c785ce639b76141a3a6887836d22fe12c (diff)
downloadmanaplus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz
manaplus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2
manaplus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz
manaplus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip
Add unused warnings to some files.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r--src/graphicsmanager.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h
index 7dbd5ea4d..68e032425 100644
--- a/src/graphicsmanager.h
+++ b/src/graphicsmanager.h
@@ -62,22 +62,22 @@ class GraphicsManager final
void setVideoMode();
- Graphics *createGraphics();
+ Graphics *createGraphics() A_WARN_UNUSED;
bool getAllVideoModes(StringVect &modeList);
#ifdef USE_OPENGL
- TestMain *startDetection();
+ TestMain *startDetection() A_WARN_UNUSED;
- int detectGraphics();
+ int detectGraphics() A_WARN_UNUSED;
- bool supportExtension(const std::string &ext);
+ bool supportExtension(const std::string &ext) A_WARN_UNUSED;
void updateTextureFormat();
- bool checkGLVersion(int major, int minor) const;
+ bool checkGLVersion(int major, int minor) const A_WARN_UNUSED;
- bool checkPlatformVersion(int major, int minor) const;
+ bool checkPlatformVersion(int major, int minor) const A_WARN_UNUSED;
void createFBO(int width, int height, FBOInfo *fbo);
@@ -93,17 +93,17 @@ class GraphicsManager final
void updateLimits();
- int getMaxVertices() const
+ int getMaxVertices() const A_WARN_UNUSED
{ return mMaxVertices; }
- bool getUseAtlases() const
+ bool getUseAtlases() const A_WARN_UNUSED
{ return mUseAtlases; }
void logVersion();
void setGLVersion();
- std::string getGLString(int num) const;
+ std::string getGLString(int num) const A_WARN_UNUSED;
void logString(const char *format, int num);
@@ -111,12 +111,12 @@ class GraphicsManager final
void createTextureSampler();
- bool isUseTextureSampler() const
+ bool isUseTextureSampler() const A_WARN_UNUSED
{ return mUseTextureSampler; }
- unsigned int getLastError();
+ GLenum getLastError() A_WARN_UNUSED;
- static std::string errorToString(GLenum error);
+ static std::string errorToString(GLenum error) A_WARN_UNUSED;
void updateDebugLog();
#endif