[linux] headless display - support opengl es 2

This commit is contained in:
Ivo van Dongen
2017-08-21 18:09:46 +03:00
committed by Ivo van Dongen
parent 6b9a1268a4
commit abecfe2333

View File

@@ -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
};