diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-11-10 12:36:53 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-11-17 01:01:15 +0100 |
commit | 50f0f919c38a905b8b169fcbd3e77c03bf48d17b (patch) | |
tree | e5b798dcca7afabf89f80c9c4810861c22db13e5 /test/gl | |
parent | 5479b75c9fa971332aadfede6b380267eebbd566 (diff) | |
download | qtlocation-mapboxgl-50f0f919c38a905b8b169fcbd3e77c03bf48d17b.tar.gz |
[test] Use shared headless display
Prevents some OpenGL implementations from bailing out.
Diffstat (limited to 'test/gl')
-rw-r--r-- | test/gl/object.test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gl/object.test.cpp b/test/gl/object.test.cpp index fb143c55c8..6e1e068c28 100644 --- a/test/gl/object.test.cpp +++ b/test/gl/object.test.cpp @@ -60,7 +60,7 @@ TEST(GLObject, Value) { } TEST(GLObject, Store) { - HeadlessBackend backend; + HeadlessBackend backend { test::sharedDisplay() }; OffscreenView view(backend.getContext()); gl::Context context; |