Review code formatting

This commit is contained in:
raysan5 2020-12-29 20:42:29 +01:00
parent 59bb759855
commit 9ed29725a0

View file

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