From e6aa32ac7f8d7b843f4d4f8bf9d8e9db790b0868 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Mon, 5 Mar 2012 20:28:42 +0100 Subject: wayland: Use new wl_display_disconnect This replaces the previously used wl_display_destroy. wl_display_destroy was povided by wayland-client.so and wayland-server.so, to resolve that conflict its renamed client-side. --- src/egl/drivers/dri2/platform_wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/egl') diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index b2981a02cd0..ad649b141dd 100644 --- a/src/egl/drivers/dri2/platform_wayland.c +++ b/src/egl/drivers/dri2/platform_wayland.c @@ -731,7 +731,7 @@ dri2_terminate(_EGLDriver *drv, _EGLDisplay *disp) free(dri2_dpy->device_name); wl_drm_destroy(dri2_dpy->wl_drm); if (dri2_dpy->own_device) - wl_display_destroy(dri2_dpy->wl_dpy); + wl_display_disconnect(dri2_dpy->wl_dpy); free(dri2_dpy); disp->DriverData = NULL; -- cgit v1.2.3