diff --git a/cocos2d/core/CCGame.js b/cocos2d/core/CCGame.js index ee62372c23..0d03ec477d 100644 --- a/cocos2d/core/CCGame.js +++ b/cocos2d/core/CCGame.js @@ -709,7 +709,7 @@ var game = { var opts = { 'stencil': true, 'alpha': cc.macro.ENABLE_TRANSPARENT_CANVAS - }); + }; if (isWeChatGame) { opts['preserveDrawingBuffer'] = true; }