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.
This commit is contained in:
Derek Foreman 2018-02-14 14:40:31 -06:00
parent a2b5dbf1d8
commit ce3467f0b1
1 changed files with 2 additions and 0 deletions

View File

@ -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;