aboutsummaryrefslogtreecommitdiff
path: root/render/wlr_texture.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/wlr_texture.c')
-rw-r--r--render/wlr_texture.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/render/wlr_texture.c b/render/wlr_texture.c
index f98284a1..9faea820 100644
--- a/render/wlr_texture.c
+++ b/render/wlr_texture.c
@@ -52,3 +52,8 @@ void wlr_texture_get_matrix(struct wlr_texture *texture,
float (*matrix)[16], const float (*projection)[16], int x, int y) {
texture->impl->get_matrix(texture, matrix, projection, x, y);
}
+
+void wlr_texture_get_buffer_size(struct wlr_texture *texture, struct wl_resource
+ *resource, int *width, int *height) {
+ texture->impl->get_buffer_size(texture, resource, width, height);
+}