From 60f4d8f4099e701ada2d7864c3bf4c76efb4434e Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Tue, 6 Jul 2021 20:20:14 -0400 Subject: types/wlr_buffer: remove wlr_resource_get_buffer_size --- include/wlr/types/wlr_buffer.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_buffer.h b/include/wlr/types/wlr_buffer.h index d0df0380..21bcdefc 100644 --- a/include/wlr/types/wlr_buffer.h +++ b/include/wlr/types/wlr_buffer.h @@ -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 -- cgit v1.2.3