raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=8f019a4ef75f9271e5fdc29fea94bc00151403f1

commit 8f019a4ef75f9271e5fdc29fea94bc00151403f1
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sun Apr 19 00:57:43 2020 +0100

    comp wl - fix sync with dmabuf code to not have early return
    
    coverity pointed out dead code - code wss actually wrong. it'd have
    skippedlinear on older proto
    
    fix CID 1425218
---
 src/bin/e_comp_wl_dmabuf.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/bin/e_comp_wl_dmabuf.c b/src/bin/e_comp_wl_dmabuf.c
index c9eb41e90..55900061d 100644
--- a/src/bin/e_comp_wl_dmabuf.c
+++ b/src/bin/e_comp_wl_dmabuf.c
@@ -490,9 +490,6 @@ bind_linux_dmabuf(struct wl_client *client, void *data, 
uint32_t version, uint32
    wl_resource_set_implementation(resource, &linux_dmabuf_implementation,
                                   compositor, NULL);
 
-   if (version < ZWP_LINUX_DMABUF_V1_MODIFIER_SINCE_VERSION)
-     return;
-
    /*
     * Use EGL_EXT_image_dma_buf_import_modifiers to query and advertise
     * format/modifier codes.

-- 


Reply via email to