aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render/wlr_texture.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-10-24 12:54:03 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-11-11 23:11:17 +0000
commit6baf045590387f05c42b1302ee0e90385ef26d07 (patch)
treeb0f42a998f52a41221fa4d807ba8ca9564f7a5df /include/wlr/render/wlr_texture.h
parent9fd28d1e8151a0dca6f1c89e4328fcad01959537 (diff)
render/texture: constify wlr_texture_update_from_buffer()
Diffstat (limited to 'include/wlr/render/wlr_texture.h')
-rw-r--r--include/wlr/render/wlr_texture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/render/wlr_texture.h b/include/wlr/render/wlr_texture.h
index 5d4b0b61..8d401518 100644
--- a/include/wlr/render/wlr_texture.h
+++ b/include/wlr/render/wlr_texture.h
@@ -48,7 +48,7 @@ struct wlr_texture *wlr_texture_from_dmabuf(struct wlr_renderer *renderer,
* region needs to be updated.
*/
bool wlr_texture_update_from_buffer(struct wlr_texture *texture,
- struct wlr_buffer *buffer, pixman_region32_t *damage);
+ struct wlr_buffer *buffer, const pixman_region32_t *damage);
/**
* Destroys the texture.