diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-18 12:11:03 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-18 12:11:03 -0500 |
commit | 44f374480888812456892f59a9f25f475e564819 (patch) | |
tree | 444cc5b5547fca9a0bad720ca8a4c49c14a63092 /math.c | |
parent | 6db2ef3ce69c17f6291b30fcb9278e7d4df53c71 (diff) |
got windows build to partly work
Diffstat (limited to 'math.c')
-rw-r--r-- | math.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |