summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2019-07-19 12:31:25 -0700
committerJason Wray <friedbunny@users.noreply.github.com>2019-07-19 15:25:59 -0700
commit46e15df679d60234f4acdc45e35888ad790482e2 (patch)
tree08afe5fb72072f887058ba8a618cbbbc5c3113d7 /include
parent1b53433dd5370f77e7fe9d68020f62c954cc47bf (diff)
downloadqtlocation-mapboxgl-46e15df679d60234f4acdc45e35888ad790482e2.tar.gz
Revert "Revert "[core][cp] Backport #15092 to mojito""
This reverts commit 0bd3a8a77d2e9a8259bdab5cc2ed6f7c55089d50.
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/style/layer_properties.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mbgl/style/layer_properties.hpp b/include/mbgl/style/layer_properties.hpp
index 301a048e50..5d1aee9c99 100644
--- a/include/mbgl/style/layer_properties.hpp
+++ b/include/mbgl/style/layer_properties.hpp
@@ -15,6 +15,8 @@ public:
virtual ~LayerProperties() = default;
Immutable<Layer::Impl> baseImpl;
+ // Contains render passes used by the renderer, see `mbgl::RenderPass`.
+ uint8_t renderPasses = 0u;
protected:
LayerProperties(Immutable<Layer::Impl> impl) : baseImpl(std::move(impl)) {}