Browse Source

gl_state: Remove unnecessary const specifier on Apply

pull/15/merge
Lioncash 11 years ago
parent
commit
951353558e
  1. 2
      src/video_core/renderer_opengl/gl_state.cpp
  2. 2
      src/video_core/renderer_opengl/gl_state.h

2
src/video_core/renderer_opengl/gl_state.cpp

@ -43,7 +43,7 @@ OpenGLState::OpenGLState() {
draw.shader_program = 0;
}
const void OpenGLState::Apply() {
void OpenGLState::Apply() {
// Culling
if (cull.enabled != cur_state.cull.enabled) {
if (cull.enabled) {

2
src/video_core/renderer_opengl/gl_state.h

@ -63,7 +63,7 @@ public:
}
/// Apply this state as the current OpenGL state
const void Apply();
void Apply();
private:
static OpenGLState cur_state;

Loading…
Cancel
Save