summaryrefslogtreecommitdiff
path: root/src/sdl2gfx/SDL2_framerate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdl2gfx/SDL2_framerate.cpp')
-rw-r--r--src/sdl2gfx/SDL2_framerate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdl2gfx/SDL2_framerate.cpp b/src/sdl2gfx/SDL2_framerate.cpp
index e03a8ba7c..032dc08b9 100644
--- a/src/sdl2gfx/SDL2_framerate.cpp
+++ b/src/sdl2gfx/SDL2_framerate.cpp
@@ -73,7 +73,7 @@ void SDL_initFramerate(FPSmanager * manager)
*/
manager->framecount = 0;
manager->rate = FPS_DEFAULT;
- manager->rateticks = (1000.0f / static_cast<float>(FPS_DEFAULT));
+ manager->rateticks = (1000.0F / static_cast<float>(FPS_DEFAULT));
manager->baseticks = _getTicks();
manager->lastticks = manager->baseticks;
@@ -96,7 +96,7 @@ int SDL_setFramerate(FPSmanager * manager, Uint32 rate)
{
manager->framecount = 0;
manager->rate = rate;
- manager->rateticks = (1000.0f / static_cast<float>(rate));
+ manager->rateticks = (1000.0F / static_cast<float>(rate));
return (0);
}
else