diff options
Diffstat (limited to 'test/util')
-rw-r--r-- | test/util/memory.test.cpp | 2 | ||||
-rw-r--r-- | test/util/offscreen_texture.test.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/util/memory.test.cpp b/test/util/memory.test.cpp index cb333129d8..ad7982ce57 100644 --- a/test/util/memory.test.cpp +++ b/test/util/memory.test.cpp @@ -38,7 +38,7 @@ public: } util::RunLoop runLoop; - HeadlessBackend backend { test::sharedDisplay() }; + HeadlessBackend backend; BackendScope scope { backend }; OffscreenView view { backend.getContext(), { 512, 512 } }; StubFileSource fileSource; diff --git a/test/util/offscreen_texture.test.cpp b/test/util/offscreen_texture.test.cpp index d8a409de36..d4efd75689 100644 --- a/test/util/offscreen_texture.test.cpp +++ b/test/util/offscreen_texture.test.cpp @@ -11,7 +11,7 @@ using namespace mbgl; TEST(OffscreenTexture, EmptyRed) { - HeadlessBackend backend { test::sharedDisplay() }; + HeadlessBackend backend; BackendScope scope { backend }; OffscreenView view(backend.getContext(), { 512, 256 }); @@ -74,7 +74,7 @@ struct Buffer { TEST(OffscreenTexture, RenderToTexture) { - HeadlessBackend backend { test::sharedDisplay() }; + HeadlessBackend backend; BackendScope scope { backend }; auto& context = backend.getContext(); |