aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/dmabuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/dmabuf.c b/render/dmabuf.c
index 1940b66e..3c431159 100644
--- a/render/dmabuf.c
+++ b/render/dmabuf.c
@@ -13,7 +13,7 @@ void wlr_dmabuf_attributes_finish(struct wlr_dmabuf_attributes *attribs) {
}
bool wlr_dmabuf_attributes_copy(struct wlr_dmabuf_attributes *dst,
- struct wlr_dmabuf_attributes *src) {
+ const struct wlr_dmabuf_attributes *src) {
memcpy(dst, src, sizeof(struct wlr_dmabuf_attributes));
int i;