summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2020-12-29 20:42:29 +0100
committerraysan5 <[email protected]>2020-12-29 20:42:29 +0100
commit9ed29725a0ee1629db7aa25c30b3632a712ce212 (patch)
tree463948018928c458925ef026382b6bf681b1dc77
parent59bb7598559368468051c06be322511f04c4b0e9 (diff)
downloadraylib-9ed29725a0ee1629db7aa25c30b3632a712ce212.tar.gz
raylib-9ed29725a0ee1629db7aa25c30b3632a712ce212.zip
Review code formatting
-rw-r--r--src/textures.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/textures.c b/src/textures.c
index 9291ebbe..7ce13ede 100644
--- a/src/textures.c
+++ b/src/textures.c
@@ -2348,8 +2348,7 @@ Rectangle GetImageAlphaBorder(Image image, float threshold)
// Clear image background with given color
void ImageClearBackground(Image *dst, Color color)
{
- for (int i = 0; i < dst->width * dst->height; ++i)
- ImageDrawPixel(dst, i % dst->width, i / dst->height, color);
+ for (int i = 0; i < dst->width*dst->height; ++i) ImageDrawPixel(dst, i%dst->width, i/dst->height, color);
}
// Draw pixel within an image