mirror of
https://github.com/wizbright/waybox.git
synced 2025-10-29 05:40:20 -04:00
fixed new issue from wlroots update
This commit is contained in:
parent
ad1611e3ad
commit
00e2d3f85c
1 changed files with 2 additions and 1 deletions
|
|
@ -30,7 +30,8 @@ void output_frame_notify(struct wl_listener *listener, void *data) {
|
|||
float matrix[16];
|
||||
wlr_matrix_project_box(matrix, &render_box, surface->current->transform,
|
||||
0, wlr_output->transform_matrix);
|
||||
wlr_render_texture_with_matrix(renderer, surface->texture, matrix, 1.0f);
|
||||
struct wlr_texture *texture = wlr_surface_get_texture(surface);
|
||||
wlr_render_texture_with_matrix(renderer, texture, matrix, 1.0f);
|
||||
wlr_surface_send_frame_done(surface, &now);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue