Review code formatting
This commit is contained in:
parent
59bb759855
commit
9ed29725a0
1 changed files with 1 additions and 2 deletions
|
@ -2348,8 +2348,7 @@ Rectangle GetImageAlphaBorder(Image image, float threshold)
|
||||||
// Clear image background with given color
|
// Clear image background with given color
|
||||||
void ImageClearBackground(Image *dst, Color color)
|
void ImageClearBackground(Image *dst, Color color)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < dst->width * dst->height; ++i)
|
for (int i = 0; i < dst->width*dst->height; ++i) ImageDrawPixel(dst, i%dst->width, i/dst->height, color);
|
||||||
ImageDrawPixel(dst, i % dst->width, i / dst->height, color);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Draw pixel within an image
|
// Draw pixel within an image
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue