Skip to content

Commit 1a8aefa

Browse files
committed
Merge pull request cocos2d#2929 from pandamicro/develop
Fixed cocos2d#2926: Activate premultiplied alpha
2 parents 1b83e3e + cfb9504 commit 1a8aefa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos2d/core/platform/CCConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ cc.SPRITEBATCHNODE_RENDER_SUBPIXEL = 1;
117117
* @constant
118118
* @type {Number}
119119
*/
120-
cc.OPTIMIZE_BLEND_FUNC_FOR_PREMULTIPLIED_ALPHA = 0;
120+
cc.OPTIMIZE_BLEND_FUNC_FOR_PREMULTIPLIED_ALPHA = 1;
121121

122122
/**
123123
* <p>

0 commit comments

Comments
 (0)