Fix wlr_render_with_matrix call
This takes an alpha parameter now.
This commit is contained in:
parent
265378270a
commit
4b781356a4
|
@ -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