summaryrefslogtreecommitdiff
path: root/Source/Core/Common/GL
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2018-12-14 18:53:10 +0000
committerGitHub <noreply@github.com>2018-12-14 18:53:10 +0000
commit3fa81f39fb577214d2fe83b51eac8ce2430aaa31 (patch)
treed1543d798740a02dc57d5fcc8ddc99d4c76b3f0b /Source/Core/Common/GL
parent2dcd058f7d87a0a95289b23473ae0e7321005110 (diff)
parent6d394d03febbc6c106f8d802db833e0d0a55cff9 (diff)
Merge pull request #7621 from lioncash/const
Common/GLContext: Make member functions const qualified where applicable
Diffstat (limited to 'Source/Core/Common/GL')
-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;