summaryrefslogtreecommitdiff
path: root/test/tile/annotation_tile.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/tile/annotation_tile.test.cpp')
-rw-r--r--test/tile/annotation_tile.test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/tile/annotation_tile.test.cpp b/test/tile/annotation_tile.test.cpp
index a69735d23e..6d00a3236a 100644
--- a/test/tile/annotation_tile.test.cpp
+++ b/test/tile/annotation_tile.test.cpp
@@ -14,6 +14,8 @@
#include <mbgl/annotation/annotation_tile.hpp>
#include <mbgl/renderer/image_manager.hpp>
#include <mbgl/text/glyph_manager.hpp>
+#include <mbgl/map/backend_scope.hpp>
+#include <mbgl/gl/headless_backend.hpp>
#include <memory>
@@ -26,6 +28,8 @@ public:
util::RunLoop loop;
ThreadPool threadPool { 1 };
AnnotationManager annotationManager;
+ HeadlessBackend backend { test::sharedDisplay() };
+ BackendScope scope { backend };
RenderStyle style { threadPool, fileSource };
ImageManager imageManager;
GlyphManager glyphManager { fileSource };