aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-08-11 17:18:41 +0200
committerSimon Ser <contact@emersion.fr>2021-09-06 18:10:26 +0200
commitcbe099dcc7fab1b70f3225e52cc5e340a368dd61 (patch)
tree4bbec1bad62fd94a98b94a217c361c59d2b0c319 /include/wlr
parent610f0c080568cc0ee5df6509ea28ed6c1baafea7 (diff)
buffer: take a wlr_buffer in wlr_client_buffer_apply_damage
Instead of taking a wl_resource as argument, take a wlr_buffer.
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_buffer.h b/include/wlr/types/wlr_buffer.h
index b4be3226..4d9640d8 100644
--- a/include/wlr/types/wlr_buffer.h
+++ b/include/wlr/types/wlr_buffer.h
@@ -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