Mesa (master): egl/wayland: Follow wl_resource_destroy changes
Kristian Høgsberg
krh at kemper.freedesktop.org
Fri May 6 20:58:15 UTC 2011
Module: Mesa
Branch: master
Commit: 6bb230970cb2da5e3fe9bc63991b4b5f92445e92
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6bb230970cb2da5e3fe9bc63991b4b5f92445e92
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date: Fri May 6 21:28:46 2011 +0200
egl/wayland: Follow wl_resource_destroy changes
---
src/egl/wayland/wayland-drm/wayland-drm.c | 2 +-
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 050f540..03a756b 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 = {
More information about the mesa-commit
mailing list