aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2021-07-12 11:39:26 -0400
committerSimon Ser <contact@emersion.fr>2021-07-22 22:28:24 +0200
commitf09c88c1b740146c72de45973c6fe8b5b514d711 (patch)
tree139f238d8f91159d8df306d32c86580035e1a819 /include
parent2fa47c1837ef54642ce646bc14ef2b8ef1f37e8d (diff)
types/wlr_buffer: remove wlr_renderer argument from wlr_buffer_from_resource
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_buffer.h3
1 files changed, 1 insertions, 2 deletions
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.