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:
committed by
Bart Louwers
parent
a391847682
commit
730c9c0712
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user