aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-10-24 12:55:59 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-11-11 23:11:17 +0000
commitfb7bd920a641eb67265529b9f87de29452b4846e (patch)
tree93bf155af64d5eeba067275ec0ac81f118833a44 /include/wlr
parent93597952aa346171d51bc6de7a894b1462c3cc6c (diff)
damage-ring: constify wlr_damage_ring_add()
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_damage_ring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_damage_ring.h b/include/wlr/types/wlr_damage_ring.h
index 67fedddc..d503a502 100644
--- a/include/wlr/types/wlr_damage_ring.h
+++ b/include/wlr/types/wlr_damage_ring.h
@@ -52,7 +52,7 @@ void wlr_damage_ring_set_bounds(struct wlr_damage_ring *ring,
* Returns true if the region intersects the ring bounds, false otherwise.
*/
bool wlr_damage_ring_add(struct wlr_damage_ring *ring,
- pixman_region32_t *damage);
+ const pixman_region32_t *damage);
/**
* Add a box to the current damage.