mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01:00
st/egl: track server side wayland changes
Follow changes in c661ecce10.
This commit is contained in:
parent
287278352e
commit
b89bca6d8b
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue