summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-07-10 17:53:35 +0300
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-07-19 12:29:06 +0300
commit1811f6054d7ba60eb249092c1245a17dd5612181 (patch)
tree3ad5bf58356df5940944c9eb7c8f9c0e1f443c4b /include
parent4f273dc10d4096c909b5fe2cb1ca91ced97ed02b (diff)
downloadqtlocation-mapboxgl-1811f6054d7ba60eb249092c1245a17dd5612181.tar.gz
[core][cp] Backport #15092 to mojito
Backports #15092 to release-mojito.
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)) {}