From b89bca6d8b84e7922f44258c41e37997775f98c9 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Wed, 7 Sep 2011 21:42:56 +0800 Subject: st/egl: track server side wayland changes Follow changes in c661ecce1089000c3fca9a543713f8264221be50. --- src/gallium/state_trackers/egl/wayland/native_drm.c | 2 +- src/gallium/state_trackers/egl/wayland/native_shm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gallium/state_trackers/egl/wayland/native_drm.c b/src/gallium/state_trackers/egl/wayland/native_drm.c index e18a8883dbf..7a5b33affd8 100644 --- a/src/gallium/state_trackers/egl/wayland/native_drm.c +++ b/src/gallium/state_trackers/egl/wayland/native_drm.c @@ -169,7 +169,7 @@ wayland_drm_display_init_screen(struct native_display *ndpy) if (id == 0) return FALSE; - drmdpy->wl_drm = wl_drm_create(drmdpy->base.dpy, id, 1); + drmdpy->wl_drm = wl_display_bind(drmdpy->base.dpy, id, &wl_drm_interface); if (!drmdpy->wl_drm) return FALSE; diff --git a/src/gallium/state_trackers/egl/wayland/native_shm.c b/src/gallium/state_trackers/egl/wayland/native_shm.c index 1c0799528fe..018fbe8e0ef 100644 --- a/src/gallium/state_trackers/egl/wayland/native_shm.c +++ b/src/gallium/state_trackers/egl/wayland/native_shm.c @@ -123,7 +123,7 @@ wayland_shm_display_init_screen(struct native_display *ndpy) if (id == 0) return FALSE; - shmdpy->wl_shm = wl_shm_create(shmdpy->base.dpy, id, 1); + shmdpy->wl_shm = wl_display_bind(shmdpy->base.dpy, id, &wl_shm_interface); if (!shmdpy->wl_shm) return FALSE; -- cgit v1.2.3