Log required extension name if unavailable

This commit is contained in:
emersion 2018-04-26 11:11:28 +01:00
parent fecb971518
commit 5a87712ca8
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -162,7 +162,7 @@ bool wlr_egl_init(struct wlr_egl *egl, EGLenum platform, void *remote_display,
wlr_log(L_INFO, "EGL vendor: %s", eglQueryString(egl->display, EGL_VENDOR)); wlr_log(L_INFO, "EGL vendor: %s", eglQueryString(egl->display, EGL_VENDOR));
if (!check_egl_ext(egl->exts_str, "EGL_KHR_image_base")) { if (!check_egl_ext(egl->exts_str, "EGL_KHR_image_base")) {
wlr_log(L_ERROR, "Required egl extensions not supported"); wlr_log(L_ERROR, "Required EGL_KHR_image_base extension not supported");
goto error; goto error;
} }