aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-02-26 19:04:57 -0500
committerDrew DeVault <sir@cmpwn.com>2018-02-26 19:04:57 -0500
commit4b781356a4501ea6fc648f3d3a4abcd061bf51cd (patch)
tree5e7983110ea24348f0873453f83376ea50584f9f
parent265378270ac4d4580bcbede59d7ed267ee3c2969 (diff)
downloadsway-4b781356a4501ea6fc648f3d3a4abcd061bf51cd.tar.xz
Fix wlr_render_with_matrix call
This takes an alpha parameter now.
-rw-r--r--sway/desktop/output.c2
1 files changed, 1 insertions, 1 deletions
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);
}