implement texture get buffer size

This commit is contained in:
Tony Crisci 2017-08-14 13:28:59 -04:00
parent f0f190bfa5
commit 72a33b736f
4 changed files with 26 additions and 8 deletions

View file

@ -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);
}