Warning fix.
This commit is contained in:
parent
ed4e73f0d9
commit
8b11e76835
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ namespace cloonel {
|
||||||
///------------------------------------------------------------------------
|
///------------------------------------------------------------------------
|
||||||
float GameBase::Exec() {
|
float GameBase::Exec() {
|
||||||
const unsigned int time1 = SDL_GetTicks();
|
const unsigned int time1 = SDL_GetTicks();
|
||||||
const float delta = static_cast<float>(time1 - m_time0) * 0.001;
|
const float delta = static_cast<float>(time1 - m_time0) * 0.001f;
|
||||||
m_time0 = time1;
|
m_time0 = time1;
|
||||||
|
|
||||||
SDL_Renderer* const ren = m_sdlmain->GetRenderer();
|
SDL_Renderer* const ren = m_sdlmain->GetRenderer();
|
||||||
|
|
Loading…
Reference in a new issue