mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-05 11:02:40 +08:00
fix dragonbones texturedata clear error (#2901)
This commit is contained in:
@@ -57,7 +57,6 @@ dragonBones.CCTextureData = cc.Class({
|
||||
_onClear : function() {
|
||||
dragonBones.TextureData.prototype._onClear.call(this);
|
||||
if (this.texture) {
|
||||
this.texture.dispose();
|
||||
this.texture = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user