From: Rob Clark <r...@ti.com> Well, they were useful to me in debugging, so probably sooner or later useful to someone else.
Signed-off-by: Rob Clark <r...@ti.com> --- src/compositor.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index ed887a4..b2a3ae9 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -817,8 +817,10 @@ weston_surface_attach(struct wl_surface *surface, struct wl_buffer *buffer) NULL, EGL_WAYLAND_BUFFER_WL, buffer, attribs); - if (!es->images[i]) + if (!es->images[i]) { + weston_log("failed to create img for plane %d\n", i); continue; + } es->num_images++; glActiveTexture(GL_TEXTURE0 + i); @@ -829,7 +831,7 @@ weston_surface_attach(struct wl_surface *surface, struct wl_buffer *buffer) es->pitch = buffer->width; } else { - /* unhandled buffer type */ + weston_log("unhandled buffer type!\n"); } } -- 1.7.9.5 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev