st/egl: track server side wayland changes

Follow changes in c661ecce10.
This commit is contained in:
Chia-I Wu 2011-09-07 21:42:56 +08:00
parent 287278352e
commit b89bca6d8b
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;