diff --git a/cocos2d/core/assets/CCTexture2D.js b/cocos2d/core/assets/CCTexture2D.js index fb45d17a63..ab17030026 100644 --- a/cocos2d/core/assets/CCTexture2D.js +++ b/cocos2d/core/assets/CCTexture2D.js @@ -362,6 +362,9 @@ var Texture2D = cc.Class({ this._image = options.images[0]; } else if (options.image !== undefined) { + // Release previous gl texture if existed + this._texture.destroy(); + this._image = options.image; if (!options.images) { _images.length = 0;