Remove vtxMatrix state

This commit is contained in:
John Firebaugh
2014-08-28 17:13:55 -07:00
parent 6855590548
commit bfa0b7f009
4 changed files with 5 additions and 5 deletions

View File

@@ -141,6 +141,6 @@ void Painter::renderFill(FillBucket& bucket, std::shared_ptr<StyleLayer> layer_d
// Abort early.
if (!bucket.hasData()) return;
const FillProperties &properties = layer_desc->getProperties<FillProperties>();
const mat4 &vtxMatrix = translatedMatrix(matrix, properties.translate, id, properties.translateAnchor);
mat4 vtxMatrix = translatedMatrix(matrix, properties.translate, id, properties.translateAnchor);
renderFill(bucket, properties, id, vtxMatrix);
}