mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-01 01:40:35 -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
|
|
@ -72,7 +72,7 @@ struct wlr_texture *wlr_texture_from_buffer(struct wlr_renderer *renderer,
|
|||
}
|
||||
|
||||
bool wlr_texture_update_from_buffer(struct wlr_texture *texture,
|
||||
struct wlr_buffer *buffer, pixman_region32_t *damage) {
|
||||
struct wlr_buffer *buffer, const pixman_region32_t *damage) {
|
||||
if (!texture->impl->update_from_buffer) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue