derekf pushed a commit to branch master.

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

commit cb83120863e8c9835695339055a5372fe13faa16
Author: Derek Foreman <[email protected]>
Date:   Fri Jun 30 14:50:15 2017 -0500

    Remove old test for dmabuf validity
    
    EFL now sets image load error for native surface set, so this hack is
    no longer required.
---
 src/bin/e_pixmap.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c
index 3dd608ef0..c46e9929e 100644
--- a/src/bin/e_pixmap.c
+++ b/src/bin/e_pixmap.c
@@ -1121,7 +1121,6 @@ e_pixmap_dmabuf_test(struct linux_dmabuf_buffer *dmabuf)
    evas_object_image_native_surface_set(test, &ns);
    ret = evas_object_image_load_error_get(test) == EVAS_LOAD_ERROR_NONE;
    evas_object_del(test);
-   if (!ns.data.wl_dmabuf.attr) return EINA_FALSE;
 
    if (e_comp->gl || !ret)
       return ret;

-- 


Reply via email to