aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-02-02 19:53:16 +0100
committerSimon Ser <contact@emersion.fr>2021-02-02 19:53:16 +0100
commit3d7aa7386706f6aa8041f27a3fba22d5b4290e82 (patch)
treef34caef1a36d3c4582acc351629bf6242ad2bf3f /include/wlr
parent7ac2ce25e3bcb7e03bee98dd9dd5757f6bf12d47 (diff)
render/dmabuf: make src arg const in wlr_dmabuf_attributes_copy
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/render/dmabuf.h2
1 files changed, 1 insertions, 1 deletions
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