derekf pushed a commit to branch master.

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

commit a2b5dbf1d876c001532d28ba9f558ae831095324
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Wed Feb 14 14:35:19 2018 -0600

    efl_wl: Update native surface usage
    
    We should be zeroing out the dmabuf scanout stuff.
---
 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 ce7fce0b2c..037efd67ff 100644
--- a/src/lib/efl_wl/efl_wl.c
+++ b/src/lib/efl_wl/efl_wl.c
@@ -1371,6 +1371,8 @@ comp_surface_commit_image_state(Comp_Surface *cs, 
Comp_Buffer *buffer, Evas_Obje
 
              ns.data.wl_dmabuf.attr = &buffer->dmabuf_buffer->attributes;
              ns.data.wl_dmabuf.resource = buffer->res;
+             ns.data.wl_dmabuf.scanout.handler = NULL;
+             ns.data.wl_dmabuf.scanout.data = NULL;
           }
         else
           {

-- 


Reply via email to