types/wlr_buffer: remove wlr_resource_get_buffer_size

This commit is contained in:
Simon Zeni 2021-07-06 20:20:14 -04:00 committed by Simon Ser
parent d086501fba
commit 60f4d8f409
2 changed files with 0 additions and 31 deletions

View file

@ -156,11 +156,6 @@ struct wlr_client_buffer *wlr_client_buffer_get(struct wlr_buffer *buffer);
* Check if a resource is a wl_buffer resource.
*/
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,
int *width, int *height);
/**
* Try to update the buffer's content. On success, returns the updated buffer
* and destroys the provided `buffer`. On error, `buffer` is intact and NULL is