From ce3467f0b19918a2be535896b17d8f93030e2e0e Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Wed, 14 Feb 2018 14:40:31 -0600 Subject: [PATCH] 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;