mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-01 19:22:46 +01:00
gl_state: Remove unnecessary const specifier on Apply
This commit is contained in:
parent
ebca3a4902
commit
951353558e
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ OpenGLState::OpenGLState() {
|
||||||
draw.shader_program = 0;
|
draw.shader_program = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
const void OpenGLState::Apply() {
|
void OpenGLState::Apply() {
|
||||||
// Culling
|
// Culling
|
||||||
if (cull.enabled != cur_state.cull.enabled) {
|
if (cull.enabled != cur_state.cull.enabled) {
|
||||||
if (cull.enabled) {
|
if (cull.enabled) {
|
||||||
|
|
|
@ -63,7 +63,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Apply this state as the current OpenGL state
|
/// Apply this state as the current OpenGL state
|
||||||
const void Apply();
|
void Apply();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static OpenGLState cur_state;
|
static OpenGLState cur_state;
|
||||||
|
|
Loading…
Reference in a new issue