Skip to content

Commit

Permalink
Fix tile collection update (#1849)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSylvester committed Nov 8, 2023
1 parent 6a6be58 commit c8010db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mbgl/renderer/render_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ void RenderLayer::updateRenderTileIDs() {
const auto& tileID = tile.get().getOverscaledTileID();
return std::make_pair(tileID, getRenderTileBucketID(tileID));
});

renderTileIDs.swap(newRenderTileIDs);
newRenderTileIDs.clear();
}

bool RenderLayer::hasRenderTile(const OverscaledTileID& tileID) const {
Expand Down

0 comments on commit c8010db

Please sign in to comment.