diff options
author | Guido Günther <agx@sigxcpu.org> | 2018-02-28 18:36:32 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2018-02-28 18:36:32 +0100 |
commit | 2dc8a35db2dbfac09d15d2ffe68a5e3302c190fd (patch) | |
tree | 70cf5a05494f8cf07a1d0197b9f7a4bc0836b664 /render | |
parent | 73045a7d9dd4d26a02d5c6b9ea9013f1e938e61d (diff) |
textures: tell us which texture format is unsupported
Diffstat (limited to 'render')
-rw-r--r-- | render/gles2/texture.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render/gles2/texture.c b/render/gles2/texture.c index 688a51d8..241b94a8 100644 --- a/render/gles2/texture.c +++ b/render/gles2/texture.c @@ -86,7 +86,8 @@ static bool gles2_texture_upload_shm(struct wlr_texture *_texture, struct wlr_gles2_texture *texture = (struct wlr_gles2_texture *)_texture; const struct pixel_format *fmt = gl_format_for_wl_format(format); if (!fmt || !fmt->gl_format) { - wlr_log(L_ERROR, "No supported pixel format for this texture"); + wlr_log(L_ERROR, "Unsupported pixel format %"PRIu32" for this texture", + format); return false; } wl_shm_buffer_begin_access(buffer); |