diff options
author | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2018-11-16 13:59:41 +0200 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2018-11-19 14:06:21 +0200 |
commit | 527851e2aa71c828f013303c827b90aa496cec15 (patch) | |
tree | d74f3d1aad5993fa3f51a11c4007fa9955c47393 /src/mbgl/style/layers/custom_layer.cpp | |
parent | 9be6c8b1b77f8fc026caee8a09e0cf28e0781253 (diff) | |
download | qtlocation-mapboxgl-527851e2aa71c828f013303c827b90aa496cec15.tar.gz |
[core] Add static layer properties to mbgl::style::LayerTypeInfo
Diffstat (limited to 'src/mbgl/style/layers/custom_layer.cpp')
-rw-r--r-- | src/mbgl/style/layers/custom_layer.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mbgl/style/layers/custom_layer.cpp b/src/mbgl/style/layers/custom_layer.cpp index 42d8349c41..bff55a7a52 100644 --- a/src/mbgl/style/layers/custom_layer.cpp +++ b/src/mbgl/style/layers/custom_layer.cpp @@ -6,7 +6,12 @@ namespace mbgl { namespace style { namespace { - const LayerTypeInfo typeInfoCustom{ "", LayerTypeInfo::SourceNotRequired }; + const LayerTypeInfo typeInfoCustom + { "", + LayerTypeInfo::Source::NotRequired, + LayerTypeInfo::Pass3D::NotRequired, + LayerTypeInfo::Layout::NotRequired, + LayerTypeInfo::Clipping::NotRequired }; } // namespace CustomLayer::CustomLayer(const std::string& layerID, |