mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
render/texture: constify wlr_texture_update_from_buffer()
This commit is contained in:
parent
9fd28d1e81
commit
6baf045590
5 changed files with 7 additions and 7 deletions
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue