From 26e82619fb27cd0d6c4a2feed80cd9e58a84c589 Mon Sep 17 00:00:00 2001 From: tTh Date: Sun, 29 Sep 2024 20:14:13 +0200 Subject: [PATCH] little tweak --- experiment/movepixels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experiment/movepixels.c b/experiment/movepixels.c index 57471728..342fe697 100644 --- a/experiment/movepixels.c +++ b/experiment/movepixels.c @@ -65,7 +65,7 @@ for (yd=0; ydheight; yd++) { fimg_get_rgb(pshift, xd, yd, disp); xs = xd + ((disp[0]/dltr*MULT) - OFFS); - ys = yd + ((disp[2]/dltb*MULT) - OFFS); + ys = yd + ((disp[1]/dltb*MULT) - OFFS); if ( xs<0 || xs>psrc->width || ys<0 || ys>psrc->height ) {