matrix: drop rotation

It's unused.
This commit is contained in:
Simon Ser 2025-01-26 17:55:28 +01:00
parent 7d1f535e49
commit 211eb9d60e
3 changed files with 4 additions and 25 deletions

View file

@ -620,7 +620,7 @@ static void render_pass_add_rect(struct wlr_render_pass *wlr_pass,
case WLR_RENDER_BLEND_MODE_PREMULTIPLIED:;
float proj[9], matrix[9];
wlr_matrix_identity(proj);
wlr_matrix_project_box(matrix, &box, WL_OUTPUT_TRANSFORM_NORMAL, 0, proj);
wlr_matrix_project_box(matrix, &box, WL_OUTPUT_TRANSFORM_NORMAL, proj);
wlr_matrix_multiply(matrix, pass->projection, matrix);
struct wlr_vk_render_format_setup *setup = pass->srgb_pathway ?
@ -711,7 +711,7 @@ static void render_pass_add_texture(struct wlr_render_pass *wlr_pass,
float proj[9], matrix[9];
wlr_matrix_identity(proj);
wlr_matrix_project_box(matrix, &dst_box, options->transform, 0, proj);
wlr_matrix_project_box(matrix, &dst_box, options->transform, proj);
wlr_matrix_multiply(matrix, pass->projection, matrix);
struct wlr_vk_vert_pcr_data vert_pcr_data = {