mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 16:36:26 +01:00
Fix wlr_render_with_matrix call
This takes an alpha parameter now.
This commit is contained in:
parent
265378270a
commit
4b781356a4
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ static void render_surface(struct wlr_surface *surface,
|
||||||
wlr_matrix_project_box(&matrix, &render_box,
|
wlr_matrix_project_box(&matrix, &render_box,
|
||||||
surface->current->transform, 0, &wlr_output->transform_matrix);
|
surface->current->transform, 0, &wlr_output->transform_matrix);
|
||||||
wlr_render_with_matrix(server.renderer, surface->texture,
|
wlr_render_with_matrix(server.renderer, surface->texture,
|
||||||
&matrix);
|
&matrix, 1.0f); // TODO: configurable alpha
|
||||||
|
|
||||||
wlr_surface_send_frame_done(surface, when);
|
wlr_surface_send_frame_done(surface, when);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue