mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
buffer: take a wlr_buffer in wlr_client_buffer_apply_damage
Instead of taking a wl_resource as argument, take a wlr_buffer.
This commit is contained in:
parent
610f0c0805
commit
cbe099dcc7
3 changed files with 21 additions and 26 deletions
|
|
@ -186,7 +186,7 @@ bool wlr_resource_is_buffer(struct wl_resource *resource);
|
|||
* isn't mutable.
|
||||
*/
|
||||
struct wlr_client_buffer *wlr_client_buffer_apply_damage(
|
||||
struct wlr_client_buffer *buffer, struct wl_resource *resource,
|
||||
struct wlr_client_buffer *buffer, struct wlr_buffer *next,
|
||||
pixman_region32_t *damage);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue