diff --git a/libweston/gl-renderer.c b/libweston/gl-renderer.c index a6b29a92..2c50d2da 100644 --- a/libweston/gl-renderer.c +++ b/libweston/gl-renderer.c @@ -2216,6 +2216,7 @@ import_known_dmabuf(struct gl_renderer *gr, image->images[0] = import_simple_dmabuf(gr, &image->dmabuf->attributes); if (!image->images[0]) return false; + image->num_images = 1; break; case IMPORT_TYPE_GL_CONVERSION: