forked from enlightenment/enlightenment
Remove old test for dmabuf validity
EFL now sets image load error for native surface set, so this hack is no longer required.
This commit is contained in:
parent
5df53cec7b
commit
cb83120863
|
@ -1121,7 +1121,6 @@ e_pixmap_dmabuf_test(struct linux_dmabuf_buffer *dmabuf)
|
||||||
evas_object_image_native_surface_set(test, &ns);
|
evas_object_image_native_surface_set(test, &ns);
|
||||||
ret = evas_object_image_load_error_get(test) == EVAS_LOAD_ERROR_NONE;
|
ret = evas_object_image_load_error_get(test) == EVAS_LOAD_ERROR_NONE;
|
||||||
evas_object_del(test);
|
evas_object_del(test);
|
||||||
if (!ns.data.wl_dmabuf.attr) return EINA_FALSE;
|
|
||||||
|
|
||||||
if (e_comp->gl || !ret)
|
if (e_comp->gl || !ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in New Issue