diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-05-18 16:31:16 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-05-26 11:21:56 -0700 |
commit | d766af44c80ca41adbd988eeb681f90fb52ec817 (patch) | |
tree | de0adcd07c2c4b6057256009bd70458fa21cb0d9 /src/mbgl/annotation/annotation_manager.cpp | |
parent | e4e08aca7910d1a8d75791db61de39fa03673fde (diff) | |
download | qtlocation-mapboxgl-d766af44c80ca41adbd988eeb681f90fb52ec817.tar.gz |
[core] Auto-growable SpriteAtlas using shelf-pack
Diffstat (limited to 'src/mbgl/annotation/annotation_manager.cpp')
-rw-r--r-- | src/mbgl/annotation/annotation_manager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mbgl/annotation/annotation_manager.cpp b/src/mbgl/annotation/annotation_manager.cpp index a7f1c69f3b..f04a0bb3dc 100644 --- a/src/mbgl/annotation/annotation_manager.cpp +++ b/src/mbgl/annotation/annotation_manager.cpp @@ -20,8 +20,7 @@ using namespace style; const std::string AnnotationManager::SourceID = "com.mapbox.annotations"; const std::string AnnotationManager::PointLayerID = "com.mapbox.annotations.points"; -AnnotationManager::AnnotationManager(float pixelRatio) - : spriteAtlas({ 1024, 1024 }, pixelRatio){ +AnnotationManager::AnnotationManager() { // This is a special atlas, holding only images added via addIcon, so we always treat it as // loaded. spriteAtlas.markAsLoaded(); |