diff options
author | Lioncash <mathew1800@gmail.com> | 2015-05-23 06:58:32 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-05-23 06:58:32 +0200 |
commit | 951353558ef7e812d5f48f60e5ff5f9cbbfdf0fe (patch) | |
tree | 5a46351505ddc60c147c15e2782c37622ab9e5ca | |
parent | y2r_u: Remove unused variable in StartConversion (diff) | |
download | yuzu-951353558ef7e812d5f48f60e5ff5f9cbbfdf0fe.tar yuzu-951353558ef7e812d5f48f60e5ff5f9cbbfdf0fe.tar.gz yuzu-951353558ef7e812d5f48f60e5ff5f9cbbfdf0fe.tar.bz2 yuzu-951353558ef7e812d5f48f60e5ff5f9cbbfdf0fe.tar.lz yuzu-951353558ef7e812d5f48f60e5ff5f9cbbfdf0fe.tar.xz yuzu-951353558ef7e812d5f48f60e5ff5f9cbbfdf0fe.tar.zst yuzu-951353558ef7e812d5f48f60e5ff5f9cbbfdf0fe.zip |
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.cpp | 2 | ||||
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 2 |
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() { draw.shader_program = 0; } -const void OpenGLState::Apply() { +void OpenGLState::Apply() { // Culling if (cull.enabled != cur_state.cull.enabled) { 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: } /// Apply this state as the current OpenGL state - const void Apply(); + void Apply(); private: static OpenGLState cur_state; |