diff options
author | Ivo van Dongen <info@ivovandongen.nl> | 2017-08-21 18:09:46 +0300 |
---|---|---|
committer | Ivo van Dongen <ivovandongen@users.noreply.github.com> | 2017-08-30 17:18:37 +0300 |
commit | abecfe23333f3d8ecad4e766ab350a96b70eb56e (patch) | |
tree | 3b0de3c2bf3eb9f3c8950cac9039cf7110a856be | |
parent | 6b9a1268a4b1d168d8407eab4df96a7ba18c4971 (diff) | |
download | qtlocation-mapboxgl-abecfe23333f3d8ecad4e766ab350a96b70eb56e.tar.gz |
[linux] headless display - support opengl es 2
-rw-r--r-- | platform/linux/src/headless_display_egl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/linux/src/headless_display_egl.cpp b/platform/linux/src/headless_display_egl.cpp index 03c8e16a59..b746211924 100644 --- a/platform/linux/src/headless_display_egl.cpp +++ b/platform/linux/src/headless_display_egl.cpp @@ -32,6 +32,9 @@ HeadlessDisplay::Impl::Impl() { } const EGLint attribs[] = { +#if MBGL_USE_GLES2 + EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, +#endif EGL_SURFACE_TYPE, EGL_PBUFFER_BIT, EGL_NONE }; |