diff options
author | Asheem Mamoowala <asheem.mamoowala@mapbox.com> | 2018-11-05 14:50:18 -0800 |
---|---|---|
committer | Asheem Mamoowala <asheem.mamoowala@mapbox.com> | 2018-11-05 14:50:18 -0800 |
commit | 9f3cc7b7075b29595dec394733b10fbd26f274e4 (patch) | |
tree | 6de04a77c9b8c67b9b13a865bfc12e5281464271 /src/mbgl/renderer/tile_pyramid.cpp | |
parent | 3006f1b1f109bc777b937562cdfaf6c0454012ce (diff) | |
download | qtlocation-mapboxgl-upstream/feature-state.tar.gz |
Cleanupupstream/feature-state
Diffstat (limited to 'src/mbgl/renderer/tile_pyramid.cpp')
-rw-r--r-- | src/mbgl/renderer/tile_pyramid.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mbgl/renderer/tile_pyramid.cpp b/src/mbgl/renderer/tile_pyramid.cpp index 361b996640..b23adbec6e 100644 --- a/src/mbgl/renderer/tile_pyramid.cpp +++ b/src/mbgl/renderer/tile_pyramid.cpp @@ -71,9 +71,10 @@ void TilePyramid::update(const std::vector<Immutable<style::Layer::Impl>>& layer const Range<uint8_t> zoomRange, optional<LatLngBounds> bounds, std::function<std::unique_ptr<Tile> (const OverscaledTileID&)> createTile) { - update(layers, {}, needsRendering, needsRelayout, parameters, type, tileSize, zoomRange, bounds, createTile); -} + FeatureStatesMap fsm; + update(layers,fsm, needsRendering, needsRelayout, parameters, type, tileSize, zoomRange, bounds, createTile); +} void extend(PropertyMap& a, const PropertyMap& b) { for (const auto& pair: b) { auto it = a.find(pair.first); |