From 4b781356a4501ea6fc648f3d3a4abcd061bf51cd Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 26 Feb 2018 19:04:57 -0500 Subject: [PATCH] Fix wlr_render_with_matrix call This takes an alpha parameter now. --- sway/desktop/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 63420d0c..08fe5877 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -63,7 +63,7 @@ static void render_surface(struct wlr_surface *surface, wlr_matrix_project_box(&matrix, &render_box, surface->current->transform, 0, &wlr_output->transform_matrix); wlr_render_with_matrix(server.renderer, surface->texture, - &matrix); + &matrix, 1.0f); // TODO: configurable alpha wlr_surface_send_frame_done(surface, when); }