mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-14 06:30:05 +00:00
gl_state: Remove unnecessary const specifier on Apply
This commit is contained in:
parent
ebca3a4902
commit
951353558e
@ -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) {
|
||||
|
@ -63,7 +63,7 @@ public:
|
||||
}
|
||||
|
||||
/// Apply this state as the current OpenGL state
|
||||
const void Apply();
|
||||
void Apply();
|
||||
|
||||
private:
|
||||
static OpenGLState cur_state;
|
||||
|
Loading…
Reference in New Issue
Block a user