devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=2e14660bec44fc0b6d9ced589651b18aaab27c2c

commit 2e14660bec44fc0b6d9ced589651b18aaab27c2c
Author: Christopher Michael <[email protected]>
Date:   Fri Apr 17 16:15:14 2020 -0400

    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)
 {

-- 


Reply via email to