summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRay <[email protected]>2022-12-02 11:59:54 +0100
committerRay <[email protected]>2022-12-02 11:59:54 +0100
commit5b5dff3f9e33ee53b18c92e94cc98c13d19c29c5 (patch)
treee20ece5517a21c704b7cca743ddbd4f9bb9a692e
parenta4079ad565b8b44694ea8e36b30b2c26f4ade813 (diff)
downloadraylib-5b5dff3f9e33ee53b18c92e94cc98c13d19c29c5.tar.gz
raylib-5b5dff3f9e33ee53b18c92e94cc98c13d19c29c5.zip
format tweak
-rw-r--r--src/rtextures.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtextures.c b/src/rtextures.c
index 12c309d0..82de0478 100644
--- a/src/rtextures.c
+++ b/src/rtextures.c
@@ -3821,7 +3821,7 @@ Color Fade(Color color, float alpha)
if (alpha < 0.0f) alpha = 0.0f;
else if (alpha > 1.0f) alpha = 1.0f;
- return (Color){color.r, color.g, color.b, (unsigned char)(255.0f*alpha)};
+ return (Color){ color.r, color.g, color.b, (unsigned char)(255.0f*alpha) };
}
// Get hexadecimal value for a Color