From 0d9fe874a3dad79fd6eca97afdaf1bc3765111c8 Mon Sep 17 00:00:00 2001 From: James Chen Date: Thu, 26 Dec 2013 19:49:54 -0800 Subject: [PATCH] Fix set FPS broken. --- cocos/2d/CCDirector.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cocos/2d/CCDirector.cpp b/cocos/2d/CCDirector.cpp index 40468aa179..27dea6ac61 100644 --- a/cocos/2d/CCDirector.cpp +++ b/cocos/2d/CCDirector.cpp @@ -1076,6 +1076,8 @@ void DisplayLinkDirector::startAnimation() } _invalid = false; + + Application::getInstance()->setAnimationInterval(_animationInterval); } void DisplayLinkDirector::mainLoop()