For placefile icons, only buffer texture data on texture atlas update

This commit is contained in:
Dan Paulat 2023-09-01 23:35:30 -05:00
parent 854d4a43db
commit 44030fdf87
2 changed files with 200 additions and 78 deletions

View file

@ -62,10 +62,10 @@ PlacefileLayer::PlacefileLayer(const std::shared_ptr<MapContext>& context,
DrawLayer(context),
p(std::make_unique<PlacefileLayer::Impl>(this, context, placefileName))
{
AddDrawItem(p->placefileIcons_);
AddDrawItem(p->placefilePolygons_);
AddDrawItem(p->placefileTriangles_);
AddDrawItem(p->placefileLines_);
AddDrawItem(p->placefileIcons_);
AddDrawItem(p->placefileText_);
ReloadData();