summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/til_fb.c2
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,
© All Rights Reserved