Skip to content

Commit

Permalink
renderer: Remove unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
heinezen committed May 3, 2024
1 parent 7d71882 commit 5a0d62e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libopenage/renderer/opengl/shader_program.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,6 @@ void GlShaderProgram::bind_uniform_buffer(const char *block_name, std::shared_pt

// Check if the uniform buffer matches the block definition
for (auto const &pair : block.uniforms) {
auto const &unif = pair.second;
ENSURE(gl_buffer->has_uniform(pair.first.c_str()),
"Uniform buffer does not contain uniform '" << pair.first << "' required by block " << block_name);
}
Expand Down

0 comments on commit 5a0d62e

Please sign in to comment.