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

Jason Ekstrand jason at jlekstrand.net
Tue Sep 19 20:33:47 UTC 2017


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
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list