fix the color setting in the canvas failed

This commit is contained in:
knoxHuang
2017-06-20 11:44:40 +08:00
parent a1951fc759
commit 6dbf61dc4c
@@ -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;