diff options
author | Ivo van Dongen <info@ivovandongen.nl> | 2017-08-21 18:09:46 +0300 |
---|---|---|
committer | Ivo van Dongen <info@ivovandongen.nl> | 2017-08-22 17:26:16 +0300 |
commit | 74c2798f92be9af9567cb9bf41c72b510fcb3cf9 (patch) | |
tree | c603f7ad5f435846a40b2a70de48fbf67cae1fe7 | |
parent | c607c0308807b0a5b1edd0ff385e8885313334b0 (diff) | |
download | qtlocation-mapboxgl-74c2798f92be9af9567cb9bf41c72b510fcb3cf9.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 }; |