From 9e10e9af7f7d7013d81023c923216dadbe60c58f Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 24 Oct 2022 12:58:23 +0200 Subject: output-damage: constify wlr_output_damage_add() --- include/wlr/types/wlr_output_damage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/wlr/types/wlr_output_damage.h b/include/wlr/types/wlr_output_damage.h index 9f59200c..efb9a707 100644 --- a/include/wlr/types/wlr_output_damage.h +++ b/include/wlr/types/wlr_output_damage.h @@ -82,7 +82,7 @@ bool wlr_output_damage_attach_render(struct wlr_output_damage *output_damage, * Accumulates damage and schedules a `frame` event. */ void wlr_output_damage_add(struct wlr_output_damage *output_damage, - pixman_region32_t *damage); + const pixman_region32_t *damage); /** * Damages the whole output and schedules a `frame` event. */ -- cgit v1.2.3