summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-02 12:49:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-02 12:49:08 +0300
commit5c3746562bafd61603c67958fc82ff097a69e3a4 (patch)
treec36e46dd4df2bc7388e7e82b6e6ae8294c4ecd02 /src/graphicsmanager.h
parent60b386b1a97a052cea867dd3a4f7a9c52394b312 (diff)
downloadmv-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.gz
mv-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.bz2
mv-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.xz
mv-5c3746562bafd61603c67958fc82ff097a69e3a4.zip
Add missing const and static into other classes.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r--src/graphicsmanager.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h
index 744514ed2..8e5aba51f 100644
--- a/src/graphicsmanager.h
+++ b/src/graphicsmanager.h
@@ -78,7 +78,7 @@ class GraphicsManager final
void initGraphics(const bool noOpenGL);
- void setVideoMode();
+ static void setVideoMode();
SDL_Window *createWindow(const int w, const int h,
const int bpp, const int flags);
@@ -94,7 +94,7 @@ class GraphicsManager final
std::string getDensityString() const;
- int getDensity()
+ int getDensity() const
{ return mDensity; }
#ifdef USE_OPENGL
@@ -104,7 +104,7 @@ class GraphicsManager final
bool supportExtension(const std::string &ext) const A_WARN_UNUSED;
- void updateTextureFormat();
+ void updateTextureFormat() const;
bool checkGLVersion(const int major, const int minor)
const A_WARN_UNUSED;
@@ -154,7 +154,7 @@ class GraphicsManager final
void updateDebugLog() const;
- std::string getGLVersion()
+ std::string getGLVersion() const
{ return mGlVersionString; }
#endif