diff options
Diffstat (limited to 'test/api/repeated_render.test.cpp')
-rw-r--r-- | test/api/repeated_render.test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/api/repeated_render.test.cpp b/test/api/repeated_render.test.cpp index 7d61992769..0e8a2715b7 100644 --- a/test/api/repeated_render.test.cpp +++ b/test/api/repeated_render.test.cpp @@ -27,7 +27,7 @@ TEST(API, RepeatedRender) { const auto style = util::read_file("test/fixtures/api/water.json"); - HeadlessBackend backend { test::sharedDisplay() }; + HeadlessBackend backend; BackendScope scope { backend }; OffscreenView view { backend.getContext(), { 512, 512 } }; float pixelRatio { 1 }; @@ -84,7 +84,7 @@ TEST(API, ZoomHistory) { const auto style = util::read_file("test/fixtures/api/empty.json"); - HeadlessBackend backend { test::sharedDisplay() }; + HeadlessBackend backend; BackendScope scope { backend }; OffscreenView view { backend.getContext(), { 512, 512 } }; DefaultFileSource fileSource(":memory:", "."); |