aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2021-07-06 20:20:14 -0400
committerSimon Ser <contact@emersion.fr>2021-07-09 23:16:39 +0200
commit60f4d8f4099e701ada2d7864c3bf4c76efb4434e (patch)
tree60cb18f0d53f2db9e45362c1562c79218e36bde9 /include
parentd086501fba0aae84db09393ad720b57ae6f73f16 (diff)
types/wlr_buffer: remove wlr_resource_get_buffer_size
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_buffer.h5
1 files changed, 0 insertions, 5 deletions
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
@@ -157,11 +157,6 @@ struct wlr_client_buffer *wlr_client_buffer_get(struct wlr_buffer *buffer);
*/
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
* returned.