mirror of https://github.com/axmolengine/axmol.git
fix a warning
This commit is contained in:
parent
873def4dec
commit
2a43160d39
|
@ -126,7 +126,7 @@ bool CCDirector::init(void)
|
|||
m_bDisplayFPS = false;
|
||||
m_nFrames = 0;
|
||||
m_pszFPS = new char[10];
|
||||
m_fExpectedFrameRate = 1 / m_dAnimationInterval;
|
||||
m_fExpectedFrameRate = (ccTime)(1 / m_dAnimationInterval);
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue