VERY experimental Nintendo Switch 2 emulator
C++
gl_state: Remove unnecessary const specifier on Apply
Lioncash951353558ef7
diff --git a/src/video_core/renderer_opengl/gl_state.cpp b/src/video_core/renderer_opengl/gl_state.cppindex 938edf1c26..1afa58c99b 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() {// Cullingif (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.hindex a56d313712..281b7cad5f 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;