aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-15 21:26:45 +0100
committeremersion <contact@emersion.fr>2018-03-15 21:26:45 +0100
commit7894fca22498f79f73b8f3c5853dd22a1727cd1c (patch)
treec7cb5e0284abd8ca9ca4bd1ea2353fc3a2af210c /backend
parent876f07e9f13946609047e8e32ca7918548315e1c (diff)
matrix: rename wlr_matrix_texture to wlr_matrix_projection
Diffstat (limited to 'backend')
-rw-r--r--backend/drm/drm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index 0447d865..fd436659 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -587,8 +587,8 @@ static bool wlr_drm_connector_set_cursor(struct wlr_output *output,
enum wl_output_transform transform = wlr_output_transform_compose(
wlr_output_transform_invert(output->transform),
WL_OUTPUT_TRANSFORM_FLIPPED_180);
- wlr_matrix_texture(plane->matrix, plane->surf.width, plane->surf.height,
- transform);
+ wlr_matrix_projection(plane->matrix, plane->surf.width,
+ plane->surf.height, transform);
plane->wlr_tex =
wlr_render_texture_create(plane->surf.renderer->wlr_rend);