Drawable Renderer (#1570), remove const

This commit is contained in:
Tim Sylvester
2023-05-03 11:01:47 -07:00
committed by Bart Louwers
parent 730c9c0712
commit aafd1ecf04

View File

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