summaryrefslogtreecommitdiff
path: root/include/llmr/renderer/icon_bucket.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/llmr/renderer/icon_bucket.hpp')
-rw-r--r--include/llmr/renderer/icon_bucket.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llmr/renderer/icon_bucket.hpp b/include/llmr/renderer/icon_bucket.hpp
index ce90edce30..0878622ec3 100644
--- a/include/llmr/renderer/icon_bucket.hpp
+++ b/include/llmr/renderer/icon_bucket.hpp
@@ -20,7 +20,7 @@ class IconVertexBuffer;
class BucketDescription;
class IconShader;
class DotShader;
-class Sprite;
+class SpriteAtlas;
class VectorTileFeature;
class IconBucket : public Bucket {
@@ -31,7 +31,7 @@ public:
virtual void render(Painter& painter, const std::string& layer_name, const Tile::ID& id);
virtual bool hasData() const;
- void addFeature(const VectorTileFeature &feature, const std::shared_ptr<Sprite> &sprite);
+ void addFeature(const VectorTileFeature &feature, SpriteAtlas &sprite_atlas);
void drawIcons(IconShader& shader);
void drawIcons(DotShader& shader);