summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/line_bucket.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/renderer/line_bucket.hpp')
-rw-r--r--src/mbgl/renderer/line_bucket.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mbgl/renderer/line_bucket.hpp b/src/mbgl/renderer/line_bucket.hpp
index 3bc8bf399d..271d950223 100644
--- a/src/mbgl/renderer/line_bucket.hpp
+++ b/src/mbgl/renderer/line_bucket.hpp
@@ -25,10 +25,10 @@ class LineBucket : public Bucket {
typedef ElementGroup<1> point_group_type;
public:
- LineBucket(LineVertexBuffer& vertexBuffer,
- TriangleElementsBuffer& triangleElementsBuffer,
- PointElementsBuffer& pointElementsBuffer,
- const StyleBucketLine& properties);
+ LineBucket(std::unique_ptr<const StyleBucketLine> layout,
+ LineVertexBuffer &vertexBuffer,
+ TriangleElementsBuffer &triangleElementsBuffer,
+ PointElementsBuffer &pointElementsBuffer);
virtual void render(Painter& painter, util::ptr<StyleLayer> layer_desc, const Tile::ID& id, const mat4 &matrix);
virtual bool hasData() const;
@@ -44,7 +44,7 @@ public:
void drawPoints(LinejoinShader& shader);
public:
- const StyleBucketLine &properties;
+ const std::unique_ptr<const StyleBucketLine> layout;
private:
LineVertexBuffer& vertexBuffer;