From d997fae27a721329907a778c38cb955b39a7bbaa Mon Sep 17 00:00:00 2001 From: Misa Date: Fri, 6 Nov 2020 15:11:24 -0800 Subject: [PATCH] Use SDL_fmodf() instead of libc fmodf() Always good to use the SDL stdlib where possible. --- desktop_version/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/src/main.cpp b/desktop_version/src/main.cpp index 704eac61..e2a133de 100644 --- a/desktop_version/src/main.cpp +++ b/desktop_version/src/main.cpp @@ -435,7 +435,7 @@ void inline deltaloop() while (accumulator >= timesteplimit) { - accumulator = fmodf(accumulator, timesteplimit); + accumulator = SDL_fmodf(accumulator, timesteplimit); fixedloop(); }