diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-10-29 02:02:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-10-29 02:02:04 +0300 |
commit | a6d18b282ab916c6536dc25516affeb9200043b6 (patch) | |
tree | 9980735a47cb2118999fb4f4dceaa52bf9f4fae7 /src/sdl2gfx | |
parent | 98c74738f21d7ae256f1273b6c1614ee64e2a3ad (diff) | |
download | plus-a6d18b282ab916c6536dc25516affeb9200043b6.tar.gz plus-a6d18b282ab916c6536dc25516affeb9200043b6.tar.bz2 plus-a6d18b282ab916c6536dc25516affeb9200043b6.tar.xz plus-a6d18b282ab916c6536dc25516affeb9200043b6.zip |
Fix code style.s20181102
Diffstat (limited to 'src/sdl2gfx')
-rw-r--r-- | src/sdl2gfx/SDL2_framerate.cpp | 4 |
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 |