diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-06-14 08:46:11 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-06-14 08:47:18 -0700 |
commit | 8857d92c599efdb34b76f0311a2bf206ad8434e6 (patch) | |
tree | dccbf8c9d4164d2e474d1478971d515f83670e97 | |
parent | c5b6fb679416544b1c5cd1d4d55eeaa0d11fd405 (diff) |
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
-rw-r--r-- | src/til_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |