Assign to variables before they are used by wlroots
This commit is contained in:
parent
fc80555c1c
commit
9b99677562
1 changed files with 2 additions and 2 deletions
|
@ -130,8 +130,8 @@ output_frame_notify(struct wl_listener *listener, void *data)
|
||||||
wlr_renderer_begin(renderer, width, height);
|
wlr_renderer_begin(renderer, width, height);
|
||||||
wlr_renderer_clear(renderer, (float[]){0.1f, 0.1f, 0.1f, 1.0f});
|
wlr_renderer_clear(renderer, (float[]){0.1f, 0.1f, 0.1f, 1.0f});
|
||||||
|
|
||||||
double output_lx;
|
double output_lx = 0;
|
||||||
double output_ly;
|
double output_ly = 0;
|
||||||
wlr_output_layout_output_coords(
|
wlr_output_layout_output_coords(
|
||||||
output_layout, wlr_output, &output_lx, &output_ly);
|
output_layout, wlr_output, &output_lx, &output_ly);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue