derekf pushed a commit to branch master.

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

commit ce3467f0b19918a2be535896b17d8f93030e2e0e
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Wed Feb 14 14:40:31 2018 -0600

    efl_wl: Update native surface for dmabuf test too
    
    Should've added this to the last commit - though this change is purely
    cosmetic as the test can never trigger direct scanout.
---
 src/lib/efl_wl/efl_wl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c
index 037efd67ff..863dcd9452 100644
--- a/src/lib/efl_wl/efl_wl.c
+++ b/src/lib/efl_wl/efl_wl.c
@@ -5584,6 +5584,8 @@ comp_dmabuf_test(struct linux_dmabuf_buffer *dmabuf)
         ns.version = EVAS_NATIVE_SURFACE_VERSION;
         ns.data.wl_dmabuf.attr = &dmabuf->attributes;
         ns.data.wl_dmabuf.resource = NULL;
+        ns.data.wl_dmabuf.scanout.handler = NULL;
+        ns.data.wl_dmabuf.scanout.data = NULL;
         test = evas_object_image_add(c->evas);
         evas_object_image_native_surface_set(test, &ns);
         ret = evas_object_image_load_error_get(test) == EVAS_LOAD_ERROR_NONE;

-- 


Reply via email to