diff options
Diffstat (limited to 'src/egl/drivers/dri2/egl_dri2.c')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index 9c5959f5d7..029807b10c 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -1100,14 +1100,6 @@ dri2_export_drm_image_mesa(_EGLDriver *drv, _EGLDisplay *disp, _EGLImage *img, return EGL_TRUE; } -static int -dri2_authenticate(_EGLDisplay *disp, uint32_t id) -{ - struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp); - - return dri2_dpy->authenticate(dri2_dpy, id); -} - #ifdef HAVE_WAYLAND_PLATFORM static EGLBoolean dri2_bind_wayland_display_wl(_EGLDriver *drv, _EGLDisplay *disp, @@ -1121,7 +1113,8 @@ dri2_bind_wayland_display_wl(_EGLDriver *drv, _EGLDisplay *disp, return EGL_FALSE; dri2_dpy->wl_server_drm = - wayland_drm_init(wl_dpy, disp, dri2_authenticate, + wayland_drm_init(wl_dpy, disp, + dri2_dpy->authenticate, dri2_dpy->device_name); if (!dri2_dpy->wl_server_drm) |