Game/FPSCounter: change m_fps variable and getFPS() return value from float to double.
MSVC complains about loss of information because sp::Time::seconds() returns double.
This commit is contained in:
parent
c11d71aaaa
commit
50e9300667
2 changed files with 3 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ void FPSCounter::addFrame()
|
|||
m_count++;
|
||||
}
|
||||
|
||||
float FPSCounter::getFPS() const
|
||||
double FPSCounter::getFPS() const
|
||||
{
|
||||
return m_fps;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue