From 3d7aa7386706f6aa8041f27a3fba22d5b4290e82 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 2 Feb 2021 19:53:16 +0100 Subject: render/dmabuf: make src arg const in wlr_dmabuf_attributes_copy --- include/wlr/render/dmabuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/wlr') diff --git a/include/wlr/render/dmabuf.h b/include/wlr/render/dmabuf.h index b9c54896..75892d30 100644 --- a/include/wlr/render/dmabuf.h +++ b/include/wlr/render/dmabuf.h @@ -40,6 +40,6 @@ void wlr_dmabuf_attributes_finish(struct wlr_dmabuf_attributes *attribs); * Clones the DMA-BUF attributes. */ bool wlr_dmabuf_attributes_copy(struct wlr_dmabuf_attributes *dst, - struct wlr_dmabuf_attributes *src); + const struct wlr_dmabuf_attributes *src); #endif -- cgit v1.2.3