diff --git a/cocos2dx/CCDirector.h b/cocos2dx/CCDirector.h index a6ba20d728..ae1ba7f003 100644 --- a/cocos2dx/CCDirector.h +++ b/cocos2dx/CCDirector.h @@ -122,7 +122,7 @@ public: inline bool isPaused(void) { return m_bPaused; } /** How many frames were called since the director started */ - inline unsigned int getFrames(void) { return m_uFrames; } + inline unsigned int getTotalFrames(void) { return m_uTotalFrames; } /** Sets an OpenGL projection @since v0.8.2