summaryrefslogtreecommitdiffhomepage
path: root/src/rtextures.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtextures.c')
-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