소스 검색

gl_state: Remove unnecessary const specifier on Apply

Lioncash 11 년 전
부모
커밋
951353558e
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/video_core/renderer_opengl/gl_state.cpp
  2. 1 1
      src/video_core/renderer_opengl/gl_state.h

+ 1 - 1
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) {

+ 1 - 1
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;