optimize for speed
This commit is contained in:
parent
2e0809b691
commit
42e12974db
@ -487,7 +487,9 @@ for (y=0; y<im->height; y++)
|
|||||||
}
|
}
|
||||||
for (x=0; x<nv; x++)
|
for (x=0; x<nv; x++)
|
||||||
{
|
{
|
||||||
Image_plotRGB(im, x+im->width - nv, y, r, g, b);
|
(im->Rpix[y])[im->width-x] = r;
|
||||||
|
(im->Gpix[y])[im->width-x] = g;
|
||||||
|
(im->Bpix[y])[im->width-x] = b;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user