summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
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