diff --git a/src/wayland-shm.c b/src/wayland-shm.c index 8a8a671..e071392 100644 --- a/src/wayland-shm.c +++ b/src/wayland-shm.c @@ -120,6 +120,7 @@ shm_pool_create_buffer(struct wl_client *client, struct wl_resource *resource, buffer->buffer.width = width; buffer->buffer.height = height; + buffer->buffer.busy_count = 0; buffer->format = format; buffer->stride = stride; buffer->offset = offset;