Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions libopenage/engine/engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ class jthread : public thread {
}
};
} // namespace std
#else
#error "jthread is supported now, remove custom definition"
#endif
#else
#include <stop_token>
Expand Down
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