[test] allow only a single shared display to avoid egl errors
This commit is contained in:
committed by
Ivo van Dongen
parent
815ffb253b
commit
a5a0558bde
@@ -30,7 +30,7 @@ TEST(API, TEST_REQUIRES_SERVER(RenderMissingTile)) {
|
||||
|
||||
const auto style = util::read_file("test/fixtures/api/water_missing_tiles.json");
|
||||
|
||||
HeadlessBackend backend { test::sharedDisplay() };
|
||||
HeadlessBackend backend;
|
||||
BackendScope scope { backend };
|
||||
OffscreenView view { backend.getContext(), { 256, 512 } };
|
||||
float pixelRatio { 1 };
|
||||
|
||||
Reference in New Issue
Block a user