diff options
Diffstat (limited to 'render/wlr_texture.c')
-rw-r--r-- | render/wlr_texture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/render/wlr_texture.c b/render/wlr_texture.c index e4e6b9ff..3685185a 100644 --- a/render/wlr_texture.c +++ b/render/wlr_texture.c @@ -59,8 +59,8 @@ bool wlr_texture_upload_dmabuf(struct wlr_texture *texture, } 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); + float mat[static 9], const float projection[static 9], int x, int y) { + texture->impl->get_matrix(texture, mat, projection, x, y); } void wlr_texture_get_buffer_size(struct wlr_texture *texture, struct wl_resource |