Skip to content
Permalink
Browse files
Merge pull request #7621 from lioncash/const
Common/GLContext: Make member functions const qualified where applicable
  • Loading branch information
Tilka committed Dec 14, 2018
2 parents 2dcd058 + 6d394d0 commit 3fa81f3
Showing 1 changed file with 3 additions and 3 deletions.
@@ -24,11 +24,11 @@ class GLContext

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;

0 comments on commit 3fa81f3

Please sign in to comment.