forked from tTh/FloatImg
little tweak
This commit is contained in:
parent
91440e7ea5
commit
26e82619fb
@ -65,7 +65,7 @@ for (yd=0; yd<pdst->height; 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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user