egl/wayland: Follow wl_resource_destroy changes
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Fri, 6 May 2011 19:28:46 +0000 (21:28 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 6 May 2011 20:50:45 +0000 (16:50 -0400)
src/egl/wayland/wayland-drm/wayland-drm.c

index 050f540ddfa8ccbfd8ea4f3cf8e1053be5051333..03a756bf0a366d85b7b560774c8dac6ded642ff9 100644 (file)
@@ -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 = {