diff options
author | Simon Ser <contact@emersion.fr> | 2022-10-24 13:03:35 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-11-11 23:11:17 +0000 |
commit | 2b22a1047840912c8c86781282faa5aa08684f64 (patch) | |
tree | fe8353ad3324d3963b4b8fdd0aea78a266cb0fa2 /include | |
parent | c5d79bfb2657798d2663dbabc9ac8c3975fc63fb (diff) |
scene: constify region APIs
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_scene.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/wlr/types/wlr_scene.h b/include/wlr/types/wlr_scene.h index 614397f7..47dd26da 100644 --- a/include/wlr/types/wlr_scene.h +++ b/include/wlr/types/wlr_scene.h @@ -338,14 +338,14 @@ void wlr_scene_buffer_set_buffer(struct wlr_scene_buffer *scene_buffer, * the whole buffer node will be damaged. */ void wlr_scene_buffer_set_buffer_with_damage(struct wlr_scene_buffer *scene_buffer, - struct wlr_buffer *buffer, pixman_region32_t *region); + struct wlr_buffer *buffer, const pixman_region32_t *region); /** * Sets the buffer's opaque region. This is an optimization hint used to * determine if buffers which reside under this one need to be rendered or not. */ void wlr_scene_buffer_set_opaque_region(struct wlr_scene_buffer *scene_buffer, - pixman_region32_t *region); + const pixman_region32_t *region); /** * Set the source rectangle describing the region of the buffer which will be |