ecore_wl2: Bind dmabuf version 2
authorDerek Foreman <derekf@osg.samsung.com>
Wed, 11 Oct 2017 13:58:41 +0000 (08:58 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Thu, 12 Oct 2017 17:24:03 +0000 (12:24 -0500)
Version 2 allows for create_immed requets.  No new events are added until
version 3, so this is a trivial update.

src/lib/ecore_wl2/ecore_wl2_display.c

index 365658c..37f4b92 100644 (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"))