mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
matrix: drop rotation
It's unused.
This commit is contained in:
parent
7d1f535e49
commit
211eb9d60e
3 changed files with 4 additions and 25 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue