summaryrefslogtreecommitdiff
path: root/src/mbgl/algorithm/update_renderables.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/algorithm/update_renderables.hpp')
-rw-r--r--src/mbgl/algorithm/update_renderables.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/algorithm/update_renderables.hpp b/src/mbgl/algorithm/update_renderables.hpp
index 16c99351b4..5fbe0d943f 100644
--- a/src/mbgl/algorithm/update_renderables.hpp
+++ b/src/mbgl/algorithm/update_renderables.hpp
@@ -35,6 +35,8 @@ void updateRenderables(GetTileFn getTile,
auto tile = getTile(idealDataTileID);
if (!tile) {
tile = createTile(idealDataTileID);
+ // For source types where TileJSON.bounds is set, tiles outside the
+ // bounds are not created
if(tile == nullptr) {
continue;
}