Skip to content

Commit

Permalink
renderer: Fix GLUniform substitution error for clang.
Browse files Browse the repository at this point in the history
  • Loading branch information
heinezen committed Oct 6, 2023
1 parent 9e2cb96 commit 3e408ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libopenage/renderer/opengl/shader_program.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ GlShaderProgram::GlShaderProgram(const std::shared_ptr<GlContext> &context,

GLuint loc = glGetUniformLocation(handle, name.data());

this->uniforms.emplace_back(type, loc);
this->uniforms.push_back({type, loc});

this->uniforms_by_name.insert(std::make_pair(
name.data(),
Expand Down

0 comments on commit 3e408ea

Please sign in to comment.