diff --git a/src/debug/fps.cpp b/src/debug/fps.cpp index 451f60ea..3c71c1dc 100644 --- a/src/debug/fps.cpp +++ b/src/debug/fps.cpp @@ -93,7 +93,7 @@ void DebugFps::TickGame(float seconds) 1e3f * Profiler::GetAvg(Profiler::STAT_TICK_BLIT), 1e3f * Profiler::GetAvg(Profiler::STAT_TICK_FRAME), 1.0f / Profiler::GetAvg(Profiler::STAT_TICK_FRAME), - 1e3f * Profiler::GetAvg(Profiler::STAT_USER_00), + 1e3f * Profiler::GetAvg(Profiler::STAT_USER_00), Ticker::GetFrameNum()); data->lines[0]->SetText(buf); #endif diff --git a/src/platform/sdl/sdlapp.cpp b/src/platform/sdl/sdlapp.cpp index 9362e7d6..30295b55 100644 --- a/src/platform/sdl/sdlapp.cpp +++ b/src/platform/sdl/sdlapp.cpp @@ -82,7 +82,7 @@ SdlApp::SdlApp(char const *title, ivec2 res, float fps) : SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 16); - // TODO: when implementing fullscreen, be sure to overwrite screen_w and screen_h with the value of vidinfo after the call to SDL_SetVideoMode + // TODO: when implementing fullscreen, be sure to overwrite screen_w and screen_h with the value of vidinfo after the call to SDL_SetVideoMode SDL_Surface *video = SDL_SetVideoMode(res.x, res.y, 0, SDL_OPENGL); # endif if (!video) diff --git a/src/platform/sdl/sdlinput.h b/src/platform/sdl/sdlinput.h index a30e921c..daf1891c 100644 --- a/src/platform/sdl/sdlinput.h +++ b/src/platform/sdl/sdlinput.h @@ -29,7 +29,7 @@ public: /** passing the screen resolution (note: not the windowed app resolution!) allows to make the mouse axis resolution-independent */ SdlInput(int app_w, int app_h, int screen_w, int screen_h); - virtual ~SdlInput(); + virtual ~SdlInput(); void SetScreenResolution(); protected: