aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-10-24 12:55:01 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-11-11 23:11:17 +0000
commit93597952aa346171d51bc6de7a894b1462c3cc6c (patch)
treeec35f049dfd07c7c9eb188683c6921d518036d76 /include
parent6baf045590387f05c42b1302ee0e90385ef26d07 (diff)
buffer: constify wlr_client_buffer_apply_damage()
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_buffer.h b/include/wlr/types/wlr_buffer.h
index bb0444bf..1201bdd1 100644
--- a/include/wlr/types/wlr_buffer.h
+++ b/include/wlr/types/wlr_buffer.h
@@ -178,6 +178,6 @@ bool wlr_resource_is_buffer(struct wl_resource *resource);
* isn't mutable.
*/
bool wlr_client_buffer_apply_damage(struct wlr_client_buffer *client_buffer,
- struct wlr_buffer *next, pixman_region32_t *damage);
+ struct wlr_buffer *next, const pixman_region32_t *damage);
#endif