diff options
Diffstat (limited to 'src/egl/drivers/dri2/egl_dri2.h')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h index 235e30df3d8..5afd3d3c9c8 100644 --- a/src/egl/drivers/dri2/egl_dri2.h +++ b/src/egl/drivers/dri2/egl_dri2.h @@ -35,6 +35,7 @@ #ifdef HAVE_WAYLAND_PLATFORM #include <wayland-client.h> +#include "wayland-drm.h" #include "wayland-egl-priv.h" #endif @@ -85,7 +86,10 @@ struct dri2_egl_display const __DRIextension *extensions[3]; #ifdef HAVE_WAYLAND_PLATFORM struct wl_egl_display *wl_dpy; + struct wl_drm *wl_server_drm; #endif + + int (*authenticate) (struct dri2_egl_display *dri_dpy, uint32_t id); }; struct dri2_egl_context |