forked from enlightenment/enlightenment
comp wl - fix sync with dmabuf code to not have early return
coverity pointed out dead code - code wss actually wrong. it'd have skippedlinear on older proto fix CID 1425218
This commit is contained in:
parent
3b15f1bb8f
commit
8f019a4ef7
|
@ -490,9 +490,6 @@ bind_linux_dmabuf(struct wl_client *client, void *data, uint32_t version, uint32
|
||||||
wl_resource_set_implementation(resource, &linux_dmabuf_implementation,
|
wl_resource_set_implementation(resource, &linux_dmabuf_implementation,
|
||||||
compositor, NULL);
|
compositor, NULL);
|
||||||
|
|
||||||
if (version < ZWP_LINUX_DMABUF_V1_MODIFIER_SINCE_VERSION)
|
|
||||||
return;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Use EGL_EXT_image_dma_buf_import_modifiers to query and advertise
|
* Use EGL_EXT_image_dma_buf_import_modifiers to query and advertise
|
||||||
* format/modifier codes.
|
* format/modifier codes.
|
||||||
|
|
Loading…
Reference in New Issue