summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2015-05-23 00:58:32 -0400
committerGravatar Lioncash2015-05-23 00:58:32 -0400
commit951353558ef7e812d5f48f60e5ff5f9cbbfdf0fe (patch)
tree5a46351505ddc60c147c15e2782c37622ab9e5ca /src
parenty2r_u: Remove unused variable in StartConversion (diff)
downloadyuzu-951353558ef7e812d5f48f60e5ff5f9cbbfdf0fe.tar.gz
yuzu-951353558ef7e812d5f48f60e5ff5f9cbbfdf0fe.tar.xz
yuzu-951353558ef7e812d5f48f60e5ff5f9cbbfdf0fe.zip
gl_state: Remove unnecessary const specifier on Apply
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_state.cpp2
-rw-r--r--src/video_core/renderer_opengl/gl_state.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.cpp b/src/video_core/renderer_opengl/gl_state.cpp
index 938edf1c2..1afa58c99 100644
--- a/src/video_core/renderer_opengl/gl_state.cpp
+++ b/src/video_core/renderer_opengl/gl_state.cpp
@@ -43,7 +43,7 @@ OpenGLState::OpenGLState() {
43 draw.shader_program = 0; 43 draw.shader_program = 0;
44} 44}
45 45
46const void OpenGLState::Apply() { 46void OpenGLState::Apply() {
47 // Culling 47 // Culling
48 if (cull.enabled != cur_state.cull.enabled) { 48 if (cull.enabled != cur_state.cull.enabled) {
49 if (cull.enabled) { 49 if (cull.enabled) {
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h
index a56d31371..281b7cad5 100644
--- a/src/video_core/renderer_opengl/gl_state.h
+++ b/src/video_core/renderer_opengl/gl_state.h
@@ -63,7 +63,7 @@ public:
63 } 63 }
64 64
65 /// Apply this state as the current OpenGL state 65 /// Apply this state as the current OpenGL state
66 const void Apply(); 66 void Apply();
67 67
68private: 68private:
69 static OpenGLState cur_state; 69 static OpenGLState cur_state;