1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-11-16 16:09:42 +01:00

Use SDL_fmodf() instead of libc fmodf()

Always good to use the SDL stdlib where possible.
This commit is contained in:
Misa 2020-11-06 15:11:24 -08:00 committed by Ethan Lee
parent 5faa86baae
commit d997fae27a

View file

@ -435,7 +435,7 @@ void inline deltaloop()
while (accumulator >= timesteplimit) while (accumulator >= timesteplimit)
{ {
accumulator = fmodf(accumulator, timesteplimit); accumulator = SDL_fmodf(accumulator, timesteplimit);
fixedloop(); fixedloop();
} }