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 3, 2023
1 parent 40ee84a commit 36246a2
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 36246a2

Please sign in to comment.