From 2e14660bec44fc0b6d9ced589651b18aaab27c2c Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Fri, 17 Apr 2020 16:15:14 -0400 Subject: [PATCH] e_comp_wl_dmabuf: Fix minor snafu from formatting patch --- src/bin/e_comp_wl_dmabuf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_comp_wl_dmabuf.c b/src/bin/e_comp_wl_dmabuf.c index f8c1c6a1b..df00edaf5 100644 --- a/src/bin/e_comp_wl_dmabuf.c +++ b/src/bin/e_comp_wl_dmabuf.c @@ -125,9 +125,10 @@ params_add(struct wl_client *client, struct wl_resource *params_resource, { buffer->attributes.modifier[plane_idx] = ((uint64_t)modifier_hi << 32) | modifier_lo; - buffer->attributes.n_planes++; } + buffer->attributes.n_planes++; + static void linux_dmabuf_wl_buffer_destroy(struct wl_client *client, struct wl_resource *resource) {