summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-20 17:42:33 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-20 21:11:13 +0300
commit8963c582f2d2f2879b69821337a5c396f9712a06 (patch)
tree9cc8f89e3116bb09ad3f4a30f7552fad6e83fe57 /src/graphicsmanager.h
parent65f5f9343a75a5adabdf840db93106cda71c703f (diff)
downloadmv-8963c582f2d2f2879b69821337a5c396f9712a06.tar.gz
mv-8963c582f2d2f2879b69821337a5c396f9712a06.tar.bz2
mv-8963c582f2d2f2879b69821337a5c396f9712a06.tar.xz
mv-8963c582f2d2f2879b69821337a5c396f9712a06.zip
Fix code style.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r--src/graphicsmanager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h
index d71fdc8a0..c50645942 100644
--- a/src/graphicsmanager.h
+++ b/src/graphicsmanager.h
@@ -163,10 +163,10 @@ class GraphicsManager final
std::string getGLVersion() const
{ return mGlVersionString; }
- GLenum getLastErrorCached() const
+ static GLenum getLastErrorCached()
{ return mLastError; }
- void resetCachedError()
+ static void resetCachedError()
{ mLastError = GL_NO_ERROR; }
#endif