Cleanup code with designated initializer lists

This commit is contained in:
Alexander Bock
2023-01-22 23:01:32 +01:00
parent 3c6fc51ac2
commit d52c5dd0d9
69 changed files with 532 additions and 411 deletions
@@ -188,7 +188,7 @@ void RenderableSkyTarget::render(const RenderData& data, RendererTasks&) {
ZoneScoped
const bool showRectangle = _verticalFov > _showRectangleThreshold;
glm::vec4 color = { glm::vec3(_borderColor) / 255.f, 1.0 };
glm::vec4 color = glm::vec4(glm::vec3(_borderColor) / 255.f, 1.0);
_shader->activate();
_shader->setUniform("opacity", opacity());