summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/buckets/fill_bucket.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/renderer/buckets/fill_bucket.hpp')
-rw-r--r--src/mbgl/renderer/buckets/fill_bucket.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mbgl/renderer/buckets/fill_bucket.hpp b/src/mbgl/renderer/buckets/fill_bucket.hpp
index a50e1971f5..20b65da39c 100644
--- a/src/mbgl/renderer/buckets/fill_bucket.hpp
+++ b/src/mbgl/renderer/buckets/fill_bucket.hpp
@@ -39,4 +39,9 @@ public:
std::map<std::string, FillProgram::PaintPropertyBinders> paintPropertyBinders;
};
+template <>
+inline bool Bucket::is<FillBucket>() const {
+ return layerType == style::LayerType::Fill;
+}
+
} // namespace mbgl