minor fix
This commit is contained in:
parent
cc79dd5152
commit
4a52c16e40
@ -59,7 +59,7 @@ for (y=0; y<psrc->height; y++) {
|
||||
fimg_get_rgb(psrc, x, y, rgb);
|
||||
|
||||
dispx = (float)x + (rgb[1]/dltg * 20.0);
|
||||
dispy = (float)y + (rgb[2]/dltb * 10.0);
|
||||
dispy = (float)y + (rgb[2]/dltb * 20.0);
|
||||
dstx = (int)roundf(dispx - 10.0);
|
||||
dsty = (int)roundf(dispy - 10.0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user