[core] Eliminate constant attribute bindings
Rather than binding constant attributes that will never be used, just disable the attribute.
This commit is contained in:
@@ -66,7 +66,7 @@ public:
|
||||
std::move(colorMode),
|
||||
uniformValues
|
||||
.concat(paintPropertyBinders.uniformValues(currentZoom, currentProperties)),
|
||||
LayoutAttributes::allVariableBindings(layoutVertexBuffer)
|
||||
LayoutAttributes::bindings(layoutVertexBuffer)
|
||||
.concat(paintPropertyBinders.attributeBindings(currentProperties)),
|
||||
indexBuffer,
|
||||
segments
|
||||
|
||||
Reference in New Issue
Block a user