[test] allow only a single shared display to avoid egl errors

This commit is contained in:
Ivo van Dongen
2017-07-05 18:04:15 +03:00
committed by Ivo van Dongen
parent 815ffb253b
commit a5a0558bde
21 changed files with 35 additions and 43 deletions

View File

@@ -30,7 +30,7 @@ std::unique_ptr<style::Image> namedMarker(const std::string& name) {
class AnnotationTest {
public:
util::RunLoop loop;
HeadlessBackend backend { test::sharedDisplay() };
HeadlessBackend backend;
BackendScope scope { backend };
OffscreenView view { backend.getContext() };
StubFileSource fileSource;