diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-02-26 19:04:57 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-02-26 19:04:57 -0500 |
commit | 4b781356a4501ea6fc648f3d3a4abcd061bf51cd (patch) | |
tree | 5e7983110ea24348f0873453f83376ea50584f9f /sway | |
parent | 265378270ac4d4580bcbede59d7ed267ee3c2969 (diff) | |
download | sway-4b781356a4501ea6fc648f3d3a4abcd061bf51cd.tar.xz |
Fix wlr_render_with_matrix call
This takes an alpha parameter now.
Diffstat (limited to 'sway')
-rw-r--r-- | sway/desktop/output.c | 2 |
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); } |