render/egl: use EGL_KHR_debug

This commit is contained in:
emersion 2018-03-21 10:42:43 +01:00
parent ff2e08aa74
commit b1f93bc5cc
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
8 changed files with 49 additions and 58 deletions

View file

@ -198,7 +198,7 @@ static bool gles2_texture_upload_drm(struct wlr_texture *_tex,
tex->image = wlr_egl_create_image(tex->egl, EGL_WAYLAND_BUFFER_WL,
(EGLClientBuffer*) buf, attribs);
if (!tex->image) {
wlr_log(L_ERROR, "failed to create egl image: %s", egl_error());
wlr_log(L_ERROR, "failed to create EGL image");
return false;
}