diff --git a/libweston/renderer-gl/gl-renderer.c b/libweston/renderer-gl/gl-renderer.c index 201bc7fa..3ab96109 100644 --- a/libweston/renderer-gl/gl-renderer.c +++ b/libweston/renderer-gl/gl-renderer.c @@ -2208,6 +2208,8 @@ gl_renderer_fill_buffer_info(struct weston_compositor *ec, case EGL_TEXTURE_Y_U_V_WL: fourcc = DRM_FORMAT_YUV420; break; + default: + assert(0 && "not reached"); } buffer->pixel_format = pixel_format_get_info(fourcc);