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:
Carsten Haitzler 2020-04-19 00:57:43 +01:00
parent 3b15f1bb8f
commit 8f019a4ef7
1 changed files with 0 additions and 3 deletions

View File

@ -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,
compositor, NULL);
if (version < ZWP_LINUX_DMABUF_V1_MODIFIER_SINCE_VERSION)
return;
/*
* Use EGL_EXT_image_dma_buf_import_modifiers to query and advertise
* format/modifier codes.