summaryrefslogtreecommitdiff
path: root/test/style/source.test.cpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-06-01 10:30:49 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-06-13 10:18:43 -0700
commit92252849c1a2ddf7887d1908841fa3c90dd59766 (patch)
tree9d192d0e60b46479122ea2e4a606b598287d49d7 /test/style/source.test.cpp
parentb201a7900f989af432aaea500a0e6c5ea5bbba53 (diff)
downloadqtlocation-mapboxgl-92252849c1a2ddf7887d1908841fa3c90dd59766.tar.gz
[core] Per-bucket glyph atlases
Diffstat (limited to 'test/style/source.test.cpp')
-rw-r--r--test/style/source.test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/style/source.test.cpp b/test/style/source.test.cpp
index 0ab98a63b1..630d701299 100644
--- a/test/style/source.test.cpp
+++ b/test/style/source.test.cpp
@@ -32,7 +32,7 @@
#include <mbgl/annotation/annotation_manager.hpp>
#include <mbgl/annotation/annotation_source.hpp>
#include <mbgl/sprite/sprite_atlas.hpp>
-#include <mbgl/text/glyph_atlas.hpp>
+#include <mbgl/text/glyph_manager.hpp>
#include <cstdint>
@@ -49,7 +49,7 @@ public:
ThreadPool threadPool { 1 };
AnnotationManager annotationManager;
SpriteAtlas spriteAtlas;
- GlyphAtlas glyphAtlas { { 512, 512, }, fileSource };
+ GlyphManager glyphManager { fileSource };
TileParameters tileParameters {
1.0,
@@ -60,7 +60,7 @@ public:
MapMode::Continuous,
annotationManager,
spriteAtlas,
- glyphAtlas
+ glyphManager
};
SourceTest() {