mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-01 02:21:26 +02:00
Common/GLContext: Make member functions const qualified where applicable
These don't modify object state, so they can be const qualified.
This commit is contained in:
parent
2dcd058f7d
commit
6d394d03fe
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user