Index glyph use by tile pointer value, not tile ID
There can be multiple tiles with the same ID, but from different sources. Fixes #957
This commit is contained in:
@@ -25,7 +25,7 @@ VectorTileData::VectorTileData(Tile::ID const& id_,
|
||||
}
|
||||
|
||||
VectorTileData::~VectorTileData() {
|
||||
glyphAtlas.removeGlyphs(id.to_uint64());
|
||||
glyphAtlas.removeGlyphs(reinterpret_cast<uintptr_t>(this));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user