[Mesa-dev] [PATCH] egl/wayland: Make wayland_drm_init declaration match the implementation

Lionel Landwerlin lionel.g.landwerlin at intel.com
Wed Sep 20 10:51:22 UTC 2017


Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

On 19/09/17 21:33, Jason Ekstrand wrote:
> Fixes: 1d0be5b3fe548ee33d4520092f583c76d42510a6
> Cc: Emil Velikov <emil.velikov at collabora.com>
> ---
>   src/egl/wayland/wayland-drm/wayland-drm.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/egl/wayland/wayland-drm/wayland-drm.h b/src/egl/wayland/wayland-drm/wayland-drm.h
> index 77e8d27..111383f 100644
> --- a/src/egl/wayland/wayland-drm/wayland-drm.h
> +++ b/src/egl/wayland/wayland-drm/wayland-drm.h
> @@ -34,7 +34,7 @@ wayland_drm_buffer_get(struct wl_drm *drm, struct wl_resource *resource);
>   
>   struct wl_drm *
>   wayland_drm_init(struct wl_display *display, char *device_name,
> -		 struct wayland_drm_callbacks *callbacks, void *user_data,
> +		 const struct wayland_drm_callbacks *callbacks, void *user_data,
>                    uint32_t flags);
>   
>   void




More information about the mesa-dev mailing list