From 8857d92c599efdb34b76f0311a2bf206ad8434e6 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Wed, 14 Jun 2023 08:46:11 -0700 Subject: til_fb: apply fragment->y in til_fb_fragment_slice_single() this was breaking mixer as checkers::fill_module when the checkers were centered via shifting on the Y axis --- src/til_fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/til_fb.c') diff --git a/src/til_fb.c b/src/til_fb.c index 6aa20b2..011e9ce 100644 --- a/src/til_fb.c +++ b/src/til_fb.c @@ -611,7 +611,7 @@ int til_fb_fragment_slice_single(const til_fb_fragment_t *fragment, unsigned n_f .texture = fragment->texture ? res_fragment->texture : NULL, .buf = fragment->buf + yoff * fragment->pitch, .x = fragment->x, - .y = yoff, + .y = fragment->y + yoff, .width = fragment->width, .height = MIN(fragment->height - yoff, slice), .frame_width = fragment->frame_width, -- cgit v1.2.1