Review tabs and trail-spaces
This commit is contained in:
parent
f1c31bee27
commit
93f59a6f59
5 changed files with 16 additions and 16 deletions
|
@ -3301,12 +3301,12 @@ void ImageDrawRectangleRec(Image *dst, Rectangle rec, Color color)
|
||||||
memcpy(pSrcPixel + x*bytesPerPixel, pSrcPixel, bytesPerPixel);
|
memcpy(pSrcPixel + x*bytesPerPixel, pSrcPixel, bytesPerPixel);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Repeat the first row data for all other rows
|
// Repeat the first row data for all other rows
|
||||||
int bytesPerRow = bytesPerPixel * (int)rec.width;
|
int bytesPerRow = bytesPerPixel * (int)rec.width;
|
||||||
for (int y = 1; y < (int)rec.height; y++)
|
for (int y = 1; y < (int)rec.height; y++)
|
||||||
{
|
{
|
||||||
memcpy(pSrcPixel + (y*dst->width)*bytesPerPixel, pSrcPixel, bytesPerRow);
|
memcpy(pSrcPixel + (y*dst->width)*bytesPerPixel, pSrcPixel, bytesPerRow);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Draw rectangle lines within an image
|
// Draw rectangle lines within an image
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue