Merge pull request #1740 from knoxHuang/master

fix the color setting in the canvas failed
This commit is contained in:
Jare Guo
2017-06-20 11:48:30 +08:00
committed by GitHub
@@ -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;