diff options
author | Simon Ser <contact@emersion.fr> | 2022-10-24 12:54:03 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-11-11 23:11:17 +0000 |
commit | 6baf045590387f05c42b1302ee0e90385ef26d07 (patch) | |
tree | b0f42a998f52a41221fa4d807ba8ca9564f7a5df /include/wlr/render/interface.h | |
parent | 9fd28d1e8151a0dca6f1c89e4328fcad01959537 (diff) |
render/texture: constify wlr_texture_update_from_buffer()
Diffstat (limited to 'include/wlr/render/interface.h')
-rw-r--r-- | include/wlr/render/interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h index e347f29b..ed7c4c8f 100644 --- a/include/wlr/render/interface.h +++ b/include/wlr/render/interface.h @@ -55,7 +55,7 @@ void wlr_renderer_init(struct wlr_renderer *renderer, struct wlr_texture_impl { bool (*update_from_buffer)(struct wlr_texture *texture, - struct wlr_buffer *buffer, pixman_region32_t *damage); + struct wlr_buffer *buffer, const pixman_region32_t *damage); void (*destroy)(struct wlr_texture *texture); }; |