From f09c88c1b740146c72de45973c6fe8b5b514d711 Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Mon, 12 Jul 2021 11:39:26 -0400 Subject: types/wlr_buffer: remove wlr_renderer argument from wlr_buffer_from_resource --- include/wlr/types/wlr_buffer.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_buffer.h b/include/wlr/types/wlr_buffer.h index 046cd392..edf53144 100644 --- a/include/wlr/types/wlr_buffer.h +++ b/include/wlr/types/wlr_buffer.h @@ -118,8 +118,7 @@ bool wlr_buffer_get_shm(struct wlr_buffer *buffer, * * The provided wl_resource must be a wl_buffer. */ -struct wlr_buffer *wlr_buffer_from_resource(struct wlr_renderer *renderer, - struct wl_resource *resource); +struct wlr_buffer *wlr_buffer_from_resource(struct wl_resource *resource); /** * A client buffer. -- cgit v1.2.3