Inlined background thing

This commit is contained in:
buffet 2019-03-10 23:28:58 +01:00
parent 3f041a7f9f
commit 7549d2d631

View file

@ -34,8 +34,7 @@ output_frame_notify(struct wl_listener *listener, void *data)
{ {
wlr_renderer_begin(renderer, width, height); wlr_renderer_begin(renderer, width, height);
float color[] = {0.18f, 0.20f, 0.25f, 1.0f}; wlr_renderer_clear(renderer, (float[]){0.18f, 0.20f, 0.25f, 1.0f});
wlr_renderer_clear(renderer, color);
wlr_output_render_software_cursors(wlr_output, NULL); wlr_output_render_software_cursors(wlr_output, NULL);
wlr_renderer_end(renderer); wlr_renderer_end(renderer);
} }