Skip to content
Snippets Groups Projects
Commit 95135355 authored by Lioncash's avatar Lioncash
Browse files

gl_state: Remove unnecessary const specifier on Apply

parent ebca3a49
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,7 @@ OpenGLState::OpenGLState() { ...@@ -43,7 +43,7 @@ OpenGLState::OpenGLState() {
draw.shader_program = 0; draw.shader_program = 0;
} }
const void OpenGLState::Apply() { void OpenGLState::Apply() {
// Culling // Culling
if (cull.enabled != cur_state.cull.enabled) { if (cull.enabled != cur_state.cull.enabled) {
if (cull.enabled) { if (cull.enabled) {
......
...@@ -63,7 +63,7 @@ public: ...@@ -63,7 +63,7 @@ public:
} }
/// Apply this state as the current OpenGL state /// Apply this state as the current OpenGL state
const void Apply(); void Apply();
private: private:
static OpenGLState cur_state; static OpenGLState cur_state;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment