Hi Emilio,

On Thu, 12 Jul 2018 at 12:47, Emilio Pozuelo Monfort <poch...@gmail.com> wrote:
> @@ -821,16 +820,8 @@ registry_handle_global(void *data, struct wl_registry 
> *registry,
>                 d->fshell = wl_registry_bind(registry,
>                                              id, 
> &zwp_fullscreen_shell_v1_interface, 1);
>         } else if (strcmp(interface, "zwp_linux_dmabuf_v1") == 0) {
> -               int ver;
> -               if (d->req_dmabuf_modifiers)
> -                       ver = 3;
> -               else if (d->req_dmabuf_immediate)
> -                       ver = 2;
> -               else
> -                       ver = 1;
>                 d->dmabuf = wl_registry_bind(registry,
> -                                            id, 
> &zwp_linux_dmabuf_v1_interface,
> -                                            ver);
> +                                            id, 
> &zwp_linux_dmabuf_v1_interface, 3);

This is missing a version check now, which I'll squash in when pushing.

Cheers,
Daniel
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to