aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/efl_wl
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2018-02-14 14:40:31 -0600
committerDerek Foreman <derekf@osg.samsung.com>2018-02-14 14:40:31 -0600
commitce3467f0b19918a2be535896b17d8f93030e2e0e (patch)
tree5db8fd751595c662c0726fb12788ad7f58af89ff /src/lib/efl_wl
parentefl_wl: Update native surface usage (diff)
downloadefl-ce3467f0b19918a2be535896b17d8f93030e2e0e.tar.gz
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.
Diffstat (limited to 'src/lib/efl_wl')
-rw-r--r--src/lib/efl_wl/efl_wl.c2
1 files changed, 2 insertions, 0 deletions
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;