diff options
| author | raysan5 <[email protected]> | 2020-12-29 20:42:29 +0100 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-12-29 20:42:29 +0100 |
| commit | 9ed29725a0ee1629db7aa25c30b3632a712ce212 (patch) | |
| tree | 463948018928c458925ef026382b6bf681b1dc77 /src/textures.c | |
| parent | 59bb7598559368468051c06be322511f04c4b0e9 (diff) | |
| download | raylib-9ed29725a0ee1629db7aa25c30b3632a712ce212.tar.gz raylib-9ed29725a0ee1629db7aa25c30b3632a712ce212.zip | |
Review code formatting
Diffstat (limited to 'src/textures.c')
| -rw-r--r-- | src/textures.c | 3 |
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 |
