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.
This commit is contained in:
Simon Ser 2021-02-03 15:35:01 +01:00 committed by Simon Zeni
parent 8a4957570f
commit d3d1c69aca
3 changed files with 3 additions and 3 deletions

View file

@ -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.
*