optimize for speed

This commit is contained in:
tTh 2022-09-13 10:32:14 +02:00
parent 2e0809b691
commit 42e12974db

View File

@ -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;
} }
} }