From 50f0f919c38a905b8b169fcbd3e77c03bf48d17b Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Thu, 10 Nov 2016 12:36:53 +0200 Subject: [test] Use shared headless display Prevents some OpenGL implementations from bailing out. --- test/api/query.test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/api/query.test.cpp') diff --git a/test/api/query.test.cpp b/test/api/query.test.cpp index d3c233ad34..506464ea1a 100644 --- a/test/api/query.test.cpp +++ b/test/api/query.test.cpp @@ -26,7 +26,7 @@ public: } util::RunLoop loop; - HeadlessBackend backend; + HeadlessBackend backend { test::sharedDisplay() }; OffscreenView view { backend.getContext() }; StubFileSource fileSource; ThreadPool threadPool { 4 }; -- cgit v1.2.1