summaryrefslogtreecommitdiff
path: root/math.c
diff options
context:
space:
mode:
Diffstat (limited to 'math.c')
-rw-r--r--math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math.c b/math.c
index c76e3cc..8de9daf 100644
--- a/math.c
+++ b/math.c
@@ -701,7 +701,7 @@ static void gl_color2f(float v, float a) {
glColor4f(v,v,v,a);
}
-static void rgba_u32_to_floats(u32 rgba, float floats[static 4]) {
+static void rgba_u32_to_floats(u32 rgba, float floats[4]) {
floats[0] = (float)(rgba >> 24) / 255.f;
floats[1] = (float)(rgba >> 16) / 255.f;
floats[2] = (float)(rgba >> 8) / 255.f;