diff --git a/libweston/renderer-gl/gl-renderer.c b/libweston/renderer-gl/gl-renderer.c index eefb9415..35e4f09d 100644 --- a/libweston/renderer-gl/gl-renderer.c +++ b/libweston/renderer-gl/gl-renderer.c @@ -2399,7 +2399,7 @@ gl_renderer_destroy_dmabuf(struct linux_dmabuf_buffer *dmabuf) static EGLImageKHR import_simple_dmabuf(struct gl_renderer *gr, - struct dmabuf_attributes *attributes) + const struct dmabuf_attributes *attributes) { EGLint attribs[52]; int atti = 0;