summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-09-07 21:42:56 +0800
committerChia-I Wu <[email protected]>2011-09-08 01:23:51 +0800
commitb89bca6d8b84e7922f44258c41e37997775f98c9 (patch)
treefa223923dae586de58417b17138e30895b7fb91b /src
parent287278352ea26947f8d304458c10bf0388beebb5 (diff)
st/egl: track server side wayland changes
Follow changes in c661ecce1089000c3fca9a543713f8264221be50.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/egl/wayland/native_drm.c2
-rw-r--r--src/gallium/state_trackers/egl/wayland/native_shm.c2
2 files changed, 2 insertions, 2 deletions
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;