From b3fb5e6d4cf2e267c3901f9c537fb0c862b77577 Mon Sep 17 00:00:00 2001 From: minggo Date: Thu, 14 Jun 2012 10:49:53 +0800 Subject: [PATCH] fixed #1293:rename getFrames to getTotalFrames and return correct value --- cocos2dx/CCDirector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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