diff options
author | Kristian Høgsberg <[email protected]> | 2011-08-22 13:53:22 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2011-08-31 18:20:40 -0400 |
commit | c661ecce1089000c3fca9a543713f8264221be50 (patch) | |
tree | 0fd009dceb655313511e606e27f015f6de0256cb /src/egl/drivers | |
parent | 6602bda23ba6c4351eb7f04d34803103a68ac2db (diff) |
wayland: Track server side wayland changes
Diffstat (limited to 'src/egl/drivers')
-rw-r--r-- | src/egl/drivers/dri2/platform_wayland.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index 67046c56104..81b23f67306 100644 --- a/src/egl/drivers/dri2/platform_wayland.c +++ b/src/egl/drivers/dri2/platform_wayland.c @@ -789,7 +789,7 @@ dri2_initialize_wayland(_EGLDriver *drv, _EGLDisplay *disp) id = wl_display_get_global(dri2_dpy->wl_dpy, "wl_drm", 1); if (id == 0) goto cleanup_dpy; - dri2_dpy->wl_drm = wl_drm_create(dri2_dpy->wl_dpy, id, 1); + dri2_dpy->wl_drm = wl_display_bind(dri2_dpy->wl_dpy, id, &wl_drm_interface); if (!dri2_dpy->wl_drm) goto cleanup_dpy; wl_drm_add_listener(dri2_dpy->wl_drm, &drm_listener, dri2_dpy); |