diff options
Diffstat (limited to 'test/src/mbgl/test/util.cpp')
-rw-r--r-- | test/src/mbgl/test/util.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/src/mbgl/test/util.cpp b/test/src/mbgl/test/util.cpp index f3b0bbc96f..0b1034e315 100644 --- a/test/src/mbgl/test/util.cpp +++ b/test/src/mbgl/test/util.cpp @@ -2,7 +2,6 @@ #include <mbgl/map/map.hpp> #include <mbgl/gl/offscreen_view.hpp> -#include <mbgl/gl/headless_display.hpp> #include <mbgl/util/logging.hpp> #include <mbgl/util/image.hpp> #include <mbgl/util/io.hpp> @@ -99,11 +98,6 @@ Server::~Server() { } } -std::shared_ptr<HeadlessDisplay> sharedDisplay() { - static auto display = std::make_shared<HeadlessDisplay>(); - return display; -} - PremultipliedImage render(Map& map, OffscreenView& view) { PremultipliedImage result; map.renderStill([&](std::exception_ptr) { |