diff options
author | emersion <contact@emersion.fr> | 2017-11-30 23:58:12 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-11-30 23:58:12 +0100 |
commit | f4754ad1a21eaede20f6e9c5d4e0c78294119cc1 (patch) | |
tree | e42e7bf233b133420e860fae6f60c6656998386d /include/wlr/render | |
parent | 779cccf8b421b99031884f4d2886e788ac77a6eb (diff) |
Fix surface transforms
Diffstat (limited to 'include/wlr/render')
-rw-r--r-- | include/wlr/render/matrix.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/render/matrix.h b/include/wlr/render/matrix.h index 177af4b3..0b35aad3 100644 --- a/include/wlr/render/matrix.h +++ b/include/wlr/render/matrix.h @@ -10,6 +10,8 @@ void wlr_matrix_rotate(float (*output)[16], float radians); void wlr_matrix_mul(const float (*x)[16], const float (*y)[16], float (*product)[16]); enum wl_output_transform; +void wlr_matrix_transform(float mat[static 16], + enum wl_output_transform transform); void wlr_matrix_texture(float mat[static 16], int32_t width, int32_t height, enum wl_output_transform transform); |