summaryrefslogtreecommitdiff
path: root/src/sdl2gfx
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-10-29 02:02:04 +0300
committerAndrei Karas <akaras@inbox.ru>2018-10-29 02:02:04 +0300
commita6d18b282ab916c6536dc25516affeb9200043b6 (patch)
tree9980735a47cb2118999fb4f4dceaa52bf9f4fae7 /src/sdl2gfx
parent98c74738f21d7ae256f1273b6c1614ee64e2a3ad (diff)
downloadplus-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.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