summaryrefslogtreecommitdiff
path: root/src/mbgl/algorithm/update_tile_masks.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/algorithm/update_tile_masks.hpp')
-rw-r--r--src/mbgl/algorithm/update_tile_masks.hpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mbgl/algorithm/update_tile_masks.hpp b/src/mbgl/algorithm/update_tile_masks.hpp
index 80e0a39be1..000be1606c 100644
--- a/src/mbgl/algorithm/update_tile_masks.hpp
+++ b/src/mbgl/algorithm/update_tile_masks.hpp
@@ -9,8 +9,6 @@
namespace mbgl {
namespace algorithm {
-namespace {
-
template <typename T>
bool tileNeedsMask(const std::reference_wrapper<T>& tile) { return tile.get().usedByRenderedLayers; }
template <typename T>
@@ -55,8 +53,6 @@ void computeTileMasks(
mask.emplace(diffZ, ref.canonical.x - (root.x << diffZ), ref.canonical.y - (root.y << diffZ));
}
-} // namespace
-
// Updates the TileMasks for all renderable tiles. Each renderable tile has a corresponding UnwrappedTileID
// indicating where it should be rendered on the screen. A TileMask describes all regions
// within a renderable tile that are *not* covered by other renderable tiles.