Code style

This commit is contained in:
Simon Long 2024-05-03 15:35:40 +01:00
parent 5b60f3c80f
commit 627eaa6cbf

View file

@ -191,7 +191,8 @@ magnify(struct output *output, struct wlr_buffer *output_buffer, struct wlr_box
}, },
.alpha = NULL, .alpha = NULL,
.clip = NULL, .clip = NULL,
.filter_mode = theme->mag_filter ? WLR_SCALE_FILTER_BILINEAR : WLR_SCALE_FILTER_NEAREST, .filter_mode = theme->mag_filter ? WLR_SCALE_FILTER_BILINEAR
: WLR_SCALE_FILTER_NEAREST,
}; };
wlr_render_pass_add_texture(tmp_render_pass, &opts); wlr_render_pass_add_texture(tmp_render_pass, &opts);
if (!wlr_render_pass_submit(tmp_render_pass)) { if (!wlr_render_pass_submit(tmp_render_pass)) {