diff --git a/cocos2d/core/sprites/CCScale9SpriteCanvasRenderCmd.js b/cocos2d/core/sprites/CCScale9SpriteCanvasRenderCmd.js index 0e44c52252..113db3db11 100644 --- a/cocos2d/core/sprites/CCScale9SpriteCanvasRenderCmd.js +++ b/cocos2d/core/sprites/CCScale9SpriteCanvasRenderCmd.js @@ -47,6 +47,11 @@ proto._updateDisplayColor = function(parentColor){ this._originalTexture = this._textureToRender = null; }; +proto._syncDisplayColor = function(parentColor){ + _ccsg.Node.WebGLRenderCmd.prototype._syncDisplayColor.call(this, parentColor); + this._originalTexture = this._textureToRender = null; +}; + proto.setState = function(state){ if(this._state === state) return;