[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.
This commit is contained in:
Konstantin Käfer
2017-04-05 15:57:47 +02:00
parent 7c69cfa6de
commit 6fcac0f580
2 changed files with 6 additions and 9 deletions

View File

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