[core] don't generate clip IDs for buckets/layers that don't need to be clipped

This commit is contained in:
Konstantin Käfer
2017-10-13 17:53:30 -07:00
parent 12f78fc874
commit cbff0a972a
4 changed files with 14 additions and 3 deletions

View File

@@ -28,6 +28,7 @@ public:
mat4 matrix;
mat4 nearClippedMatrix;
bool used = false;
bool needsClipping = false;
mat4 translatedMatrix(const std::array<float, 2>& translate,
style::TranslateAnchorType anchor,