|
|
@ -76,7 +76,7 @@ static void output_frame_notify(struct wl_listener *listener, void *data) {
|
|
|
|
|
|
|
|
|
|
|
|
struct wlr_output_state output_state;
|
|
|
|
struct wlr_output_state output_state;
|
|
|
|
wlr_output_state_init(&output_state);
|
|
|
|
wlr_output_state_init(&output_state);
|
|
|
|
struct wlr_render_pass *pass = wlr_output_begin_render_pass(wlr_output, &output_state, NULL, NULL);
|
|
|
|
struct wlr_render_pass *pass = wlr_output_begin_render_pass(wlr_output, &output_state, NULL);
|
|
|
|
wlr_render_pass_add_rect(pass, &(struct wlr_render_rect_options){
|
|
|
|
wlr_render_pass_add_rect(pass, &(struct wlr_render_rect_options){
|
|
|
|
.box = { .width = width, .height = height },
|
|
|
|
.box = { .width = width, .height = height },
|
|
|
|
.color = { 0.25, 0.25, 0.25, 1 },
|
|
|
|
.color = { 0.25, 0.25, 0.25, 1 },
|
|
|
|