aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-02-03 15:35:01 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-07-05 11:13:41 -0400
commitd3d1c69aca6cde3f5189e862dfb501854e354654 (patch)
tree98b6ce97afecbb68c6e7f527f54f28c919e7f01a /include
parent8a4957570f2d546cad033371db0c2463459536ce (diff)
buffer: remove renderer param from wlr_resource_get_buffer_size
The only reason we had this was because of EGL_WL_bind_wayland_display support, which has been dropped.
Diffstat (limited to 'include')
-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 d23cdce8..e64e60c8 100644
--- a/include/wlr/types/wlr_buffer.h
+++ b/include/wlr/types/wlr_buffer.h
@@ -151,7 +151,7 @@ bool wlr_resource_is_buffer(struct wl_resource *resource);
* Get the size of a wl_buffer resource.
*/
bool wlr_resource_get_buffer_size(struct wl_resource *resource,
- struct wlr_renderer *renderer, int *width, int *height);
+ int *width, int *height);
/**
* Import a client buffer and lock it.
*