xwayland: GBM should fail w/out "GL_OES_EGL_image"
Surely, we should fail to init GBM backend if "GL_OES_EGL_image" is missing. This seems to have been lost with commit1545e2dba
("xwayland: Decouple GBM from glamor"). Suggested-by: Emil Velikov <emil.velikov@collabora.com> Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> (cherry picked from commitb823b43dca
)
This commit is contained in:
parent
f8e96b22bf
commit
60eda2af0a
|
@ -807,8 +807,10 @@ xwl_glamor_gbm_init_egl(struct xwl_screen *xwl_screen)
|
|||
goto error;
|
||||
}
|
||||
|
||||
if (!epoxy_has_gl_extension("GL_OES_EGL_image"))
|
||||
if (!epoxy_has_gl_extension("GL_OES_EGL_image")) {
|
||||
ErrorF("GL_OES_EGL_image not available\n");
|
||||
goto error;
|
||||
}
|
||||
|
||||
if (epoxy_has_egl_extension(xwl_screen->egl_display,
|
||||
"EXT_image_dma_buf_import") &&
|
||||
|
|
Loading…
Reference in New Issue