We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e102082 + bd872b7 commit 078600dCopy full SHA for 078600d
extensions/spine/CCSkeletonWebGLRenderCmd.js
@@ -103,7 +103,7 @@
103
cc.glBlendFunc(cc.ONE, cc.ONE_MINUS_SRC_COLOR);
104
break;
105
default:
106
- cc.glBlendFunc(locBlendFunc.src, locBlendFunc.dst);
+ cc.glBlendFunc(premultiAlpha ? cc.ONE : cc.SRC_ALPHA, cc.ONE_MINUS_SRC_ALPHA);
107
}
108
} else if (regionTextureAtlas != textureAtlas && textureAtlas) {
109
textureAtlas.drawQuads();
0 commit comments