summaryrefslogtreecommitdiff
path: root/math.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-18 12:11:03 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-18 12:11:03 -0500
commit44f374480888812456892f59a9f25f475e564819 (patch)
tree444cc5b5547fca9a0bad720ca8a4c49c14a63092 /math.c
parent6db2ef3ce69c17f6291b30fcb9278e7d4df53c71 (diff)
got windows build to partly work
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;