Skip to content

Commit

Permalink
Missing last_shader assign
Browse files Browse the repository at this point in the history
  • Loading branch information
aardappel committed Aug 8, 2023
1 parent b1fcdce commit 3abfe75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dev/src/glshader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ void Shader::Activate() {
if (program != last_program) {
GL_CALL(glUseProgram(program));
last_program = program;
last_shader = this;
}
}

Expand Down

0 comments on commit 3abfe75

Please sign in to comment.