From 6bb230970cb2da5e3fe9bc63991b4b5f92445e92 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 6 May 2011 21:28:46 +0200 Subject: egl/wayland: Follow wl_resource_destroy changes --- src/egl/wayland/wayland-drm/wayland-drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 = { -- cgit v1.2.3