Merge pull request #66 from tiosgz/fix-render
This commit is contained in:
commit
08b8f27590
1 changed files with 1 additions and 5 deletions
|
@ -194,11 +194,7 @@ output_frame_notify(struct wl_listener *listener, void *data)
|
||||||
struct kiwmi_server *server = wl_container_of(desktop, server, desktop);
|
struct kiwmi_server *server = wl_container_of(desktop, server, desktop);
|
||||||
struct wlr_renderer *renderer = server->renderer;
|
struct wlr_renderer *renderer = server->renderer;
|
||||||
|
|
||||||
int width;
|
wlr_renderer_begin(renderer, wlr_output->width, wlr_output->height);
|
||||||
int height;
|
|
||||||
wlr_output_effective_resolution(wlr_output, &width, &height);
|
|
||||||
|
|
||||||
wlr_renderer_begin(renderer, width, height);
|
|
||||||
wlr_renderer_clear(renderer, desktop->bg_color);
|
wlr_renderer_clear(renderer, desktop->bg_color);
|
||||||
|
|
||||||
double output_lx = 0;
|
double output_lx = 0;
|
||||||
|
|
Loading…
Reference in a new issue