From 0ace75f372cdcc3a7cb61df9159b327b512296fd Mon Sep 17 00:00:00 2001 From: pandamicro Date: Wed, 21 Feb 2018 09:49:19 +0800 Subject: [PATCH] Fix removed function usage in director --- cocos2d/core/CCDirector.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/cocos2d/core/CCDirector.js b/cocos2d/core/CCDirector.js index 7ed10fc4c8..104bccbb8e 100644 --- a/cocos2d/core/CCDirector.js +++ b/cocos2d/core/CCDirector.js @@ -426,9 +426,6 @@ cc.Director.prototype = { // Clear all caches this.purgeCachedData(); - - if (CC_DEV) - cc.checkGLErrorDebug(); }, /**