summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/GL/GLContext.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Common/GL/GLContext.h b/Source/Core/Common/GL/GLContext.h
index 074ea3cc6d..40cdc776c1 100644
--- a/Source/Core/Common/GL/GLContext.h
+++ b/Source/Core/Common/GL/GLContext.h
@@ -24,11 +24,11 @@ public:
virtual ~GLContext();
- Mode GetMode() { return m_opengl_mode; }
+ Mode GetMode() const { return m_opengl_mode; }
bool IsGLES() const { return m_opengl_mode == Mode::OpenGLES; }
- u32 GetBackBufferWidth() { return m_backbuffer_width; }
- u32 GetBackBufferHeight() { return m_backbuffer_height; }
+ u32 GetBackBufferWidth() const { return m_backbuffer_width; }
+ u32 GetBackBufferHeight() const { return m_backbuffer_height; }
virtual bool IsHeadless() const;