mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
Refactor cc.Macro to cc.macro
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
texture.handleLoadedTexture();
|
||||
|
||||
var locSprite = node.sprite = new _ccsg.Sprite(texture);
|
||||
locSprite.setBlendFunc(cc.Macro.ONE, cc.Macro.ONE_MINUS_SRC_ALPHA);
|
||||
locSprite.setBlendFunc(cc.macro.ONE, cc.macro.ONE_MINUS_SRC_ALPHA);
|
||||
// Disabled by default.
|
||||
node.autoDraw = false;
|
||||
// add sprite for backward compatibility
|
||||
|
||||
Reference in New Issue
Block a user