mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 00:22:43 +08:00
Merge pull request #1129 from jareguo/master
should not use cc.arrayRemoveObject
This commit is contained in:
@@ -179,7 +179,7 @@ cc.rendererWebGL = {
|
||||
}
|
||||
|
||||
var locIDs = this._cacheInstanceIds;
|
||||
cc.arrayRemoveObject(locIDs, instanceID);
|
||||
cc.js.array.remove(locIDs, instanceID);
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -455,4 +455,4 @@ cc.rendererWebGL = {
|
||||
this._batchRendering();
|
||||
_batchedInfo.texture = null;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user