Skip to content

Commit 541271e

Browse files
committed
Fix for rendering and event scheduling from becoming out of sync when frame rate drops
1 parent 6dee89a commit 541271e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cocos2d/core/CCDirector.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,6 @@ cc.Director = cc.Class.extend(/** @lends cc.Director# */{
167167
this._deltaTime = (now - this._lastUpdate) / 1000;
168168
}
169169

170-
if ((cc.game.config[cc.game.CONFIG_KEY.debugMode] > 0) && (this._deltaTime > 0.2))
171-
this._deltaTime = 1 / 60.0;
172-
173170
this._lastUpdate = now;
174171
},
175172

0 commit comments

Comments
 (0)