diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-04-05 15:57:47 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-04-05 23:05:46 +0200 |
commit | 6fcac0f580786adbb71040dfc69b36bdbb6f94e1 (patch) | |
tree | 2701796f95729b73fd066af5457aeef7acbb5ff8 /platform/linux/src/headless_display_egl.cpp | |
parent | 7c69cfa6de6e09f096ce27e437b4e2ca0b9bc35a (diff) | |
download | qtlocation-mapboxgl-6fcac0f580786adbb71040dfc69b36bdbb6f94e1.tar.gz |
[core] always create a pixelbuffer surface in the EGL backend
We need a surface to activate a context. Some implementation don't seem to error when passing EGL_NO_SURFACE, but it doesn't seem standards compliant.
Diffstat (limited to 'platform/linux/src/headless_display_egl.cpp')
-rw-r--r-- | platform/linux/src/headless_display_egl.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/platform/linux/src/headless_display_egl.cpp b/platform/linux/src/headless_display_egl.cpp index eddc05feaf..03c8e16a59 100644 --- a/platform/linux/src/headless_display_egl.cpp +++ b/platform/linux/src/headless_display_egl.cpp @@ -32,11 +32,7 @@ HeadlessDisplay::Impl::Impl() { } const EGLint attribs[] = { -#if __ANDROID__ - // Android emulator requires a pixel buffer to generate renderable unit - // test results. EGL_SURFACE_TYPE, EGL_PBUFFER_BIT, -#endif // __ANDROID__ EGL_NONE }; |