From cbe099dcc7fab1b70f3225e52cc5e340a368dd61 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 11 Aug 2021 17:18:41 +0200 Subject: buffer: take a wlr_buffer in wlr_client_buffer_apply_damage Instead of taking a wl_resource as argument, take a wlr_buffer. --- include/wlr/types/wlr_buffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/wlr') 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 -- cgit v1.2.3