mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Add alpha to wlr_render_with_matrix
so we can use the alpha channel to e.g. blend in textures
This commit is contained in:
parent
e6ca78b0e4
commit
d08792bfff
11 changed files with 18 additions and 17 deletions
|
|
@ -52,7 +52,7 @@ static void handle_output_frame(struct output_state *output, struct timespec *ts
|
|||
wlr_texture_get_matrix(sample->cat_texture, &matrix,
|
||||
&wlr_output->transform_matrix, x, y);
|
||||
wlr_render_with_matrix(sample->renderer,
|
||||
sample->cat_texture, &matrix);
|
||||
sample->cat_texture, &matrix, 1.0f);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue