summaryrefslogtreecommitdiffstats
path: root/src/egl/wayland
diff options
context:
space:
mode:
authorBenjamin Franzke <[email protected]>2011-05-06 21:28:46 +0200
committerKristian Høgsberg <[email protected]>2011-05-06 16:50:45 -0400
commit6bb230970cb2da5e3fe9bc63991b4b5f92445e92 (patch)
tree115b4523c540608706c698e7009817f0c5f70e10 /src/egl/wayland
parent531b12af35a832bcd8928a4919d76f8e9405cde0 (diff)
egl/wayland: Follow wl_resource_destroy changes
Diffstat (limited to 'src/egl/wayland')
-rw-r--r--src/egl/wayland/wayland-drm/wayland-drm.c2
1 files changed, 1 insertions, 1 deletions
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 = {