We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 988a036 + 9079cbe commit 8cf0255Copy full SHA for 8cf0255
cocos2d/clipping-nodes/CCClippingNodeCanvasRenderCmd.js
@@ -104,8 +104,8 @@
104
if(!stencil)
105
return;
106
var node = this._node;
107
- if(stencil._renderCmd && stencil._renderCmd._setBlendFuncStr)
108
- stencil._renderCmd._setBlendFuncStr(node.inverted ? "destination-out" : "destination-in");
+ if(stencil._renderCmd && stencil._renderCmd._blendFuncStr)
+ stencil._renderCmd._blendFuncStr = (node.inverted ? "destination-out" : "destination-in");
109
110
if(!stencil._children)
111
0 commit comments