From fb7bd920a641eb67265529b9f87de29452b4846e Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 24 Oct 2022 12:55:59 +0200 Subject: damage-ring: constify wlr_damage_ring_add() --- include/wlr/types/wlr_damage_ring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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. -- cgit v1.2.3