From: Benjamin Franzke Date: Fri, 6 May 2011 19:28:46 +0000 (+0200) Subject: egl/wayland: Follow wl_resource_destroy changes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6bb230970cb2da5e3fe9bc63991b4b5f92445e92;p=mesa.git egl/wayland: Follow wl_resource_destroy changes --- diff --git a/src/egl/wayland/wayland-drm/wayland-drm.c b/src/egl/wayland/wayland-drm/wayland-drm.c index 050f540ddfa..03a756bf0a3 100644 --- a/src/egl/wayland/wayland-drm/wayland-drm.c +++ b/src/egl/wayland/wayland-drm/wayland-drm.c @@ -73,7 +73,7 @@ destroy_buffer(struct wl_resource *resource, struct wl_client *client) static void buffer_destroy(struct wl_client *client, struct wl_buffer *buffer) { - wl_resource_destroy(&buffer->resource, client); + wl_resource_destroy(&buffer->resource, client, 0); } const static struct wl_buffer_interface drm_buffer_interface = {