ecore_wl2: Bind dmabuf version 2

Version 2 allows for create_immed requets.  No new events are added until
version 3, so this is a trivial update.
This commit is contained in:
Derek Foreman 2017-10-11 08:58:41 -05:00
parent 4985dee49d
commit 8e3793c90b
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ _cb_global_add(void *data, struct wl_registry *registry, unsigned int id, const
else if (!strcmp(interface, "zwp_linux_dmabuf_v1"))
{
ewd->wl.dmabuf =
wl_registry_bind(registry, id, &zwp_linux_dmabuf_v1_interface, 1);
wl_registry_bind(registry, id, &zwp_linux_dmabuf_v1_interface, 2);
zwp_linux_dmabuf_v1_add_listener(ewd->wl.dmabuf, &_dmabuf_listener, ewd);
}
else if (!strcmp(interface, "wl_data_device_manager"))