Fix wlr_render_with_matrix call

This takes an alpha parameter now.
This commit is contained in:
Drew DeVault 2018-02-26 19:04:57 -05:00
parent 265378270a
commit 4b781356a4
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}