diff options
author | emersion <contact@emersion.fr> | 2018-03-15 15:33:58 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-03-15 15:33:58 +0100 |
commit | 824a95ad19062e867178593f0937d14049422989 (patch) | |
tree | 1ad1793d6e7379979340eff1f0385afa549ea58d /render/wlr_renderer.c | |
parent | d26b67cb06509fb39d9ed473a5d27b1f241ff635 (diff) |
matrix: use 2D matrices
Diffstat (limited to 'render/wlr_renderer.c')
-rw-r--r-- | render/wlr_renderer.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/render/wlr_renderer.c b/render/wlr_renderer.c index 372e4caf..e847fcc2 100644 --- a/render/wlr_renderer.c +++ b/render/wlr_renderer.c @@ -35,19 +35,19 @@ struct wlr_texture *wlr_render_texture_create(struct wlr_renderer *r) { return r->impl->texture_create(r); } -bool wlr_render_with_matrix(struct wlr_renderer *r, - struct wlr_texture *texture, const float matrix[static 16], +bool wlr_render_texture_with_matrix(struct wlr_renderer *r, + struct wlr_texture *texture, const float matrix[static 9], float alpha) { - return r->impl->render_with_matrix(r, texture, matrix, alpha); + return r->impl->render_texture_with_matrix(r, texture, matrix, alpha); } void wlr_render_colored_quad(struct wlr_renderer *r, - const float color[static 4], const float matrix[static 16]) { + const float color[static 4], const float matrix[static 9]) { r->impl->render_quad(r, color, matrix); } void wlr_render_colored_ellipse(struct wlr_renderer *r, - const float color[static 4], const float matrix[static 16]) { + const float color[static 4], const float matrix[static 9]) { r->impl->render_ellipse(r, color, matrix); } |