Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2023-05-03 17:41:05 +00:00
committed by Bart Louwers
parent a391847682
commit 730c9c0712

View File

@@ -35,7 +35,7 @@ void DrawableGLBuilder::init() {
colorAttr->reserve(impl->colors.size());
for (const auto& color : impl->colors) {
const auto x = util::convert<float>(color.toArray());
colorAttr->set(index, gfx::VertexAttribute::float4{x[0],x[1],x[2],x[3]});
colorAttr->set(index, gfx::VertexAttribute::float4{x[0], x[1], x[2], x[3]});
colorAttr->set(index++, DrawableGL::colorAttrValue(color));
}
}