summaryrefslogtreecommitdiff
path: root/src/mbgl/algorithm
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-05-27 13:43:38 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-06-10 12:42:14 +0200
commit2c7f7fb5669088cbd6d6a7471a377f28195adaf6 (patch)
tree330d9710aecd0162e03fa1430d975bfdcc3e01c3 /src/mbgl/algorithm
parent4673a9d6b3d8bd90c1e6fe9b2cd4bcd07519c0f2 (diff)
downloadqtlocation-mapboxgl-2c7f7fb5669088cbd6d6a7471a377f28195adaf6.tar.gz
[core] createTile callback can load optional and required tiles
Diffstat (limited to 'src/mbgl/algorithm')
-rw-r--r--src/mbgl/algorithm/update_renderables.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/algorithm/update_renderables.hpp b/src/mbgl/algorithm/update_renderables.hpp
index 22d4205d90..1f58075a58 100644
--- a/src/mbgl/algorithm/update_renderables.hpp
+++ b/src/mbgl/algorithm/update_renderables.hpp
@@ -33,7 +33,7 @@ void updateRenderables(GetTileDataFn getTileData,
const OverscaledTileID idealDataTileID(dataTileZoom, idealRenderTileID.canonical);
auto data = getTileData(idealDataTileID);
if (!data) {
- data = createTileData(idealDataTileID);
+ data = createTileData(idealDataTileID, true);
assert(data);
}