From 8dee57c7e309e5c0227740a579aeb07f8aa31a95 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Sat, 24 Feb 2018 17:45:02 +0800 Subject: [PATCH] Exclusivly set webgl antialias option to false --- cocos2d/core/CCGame.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cocos2d/core/CCGame.js b/cocos2d/core/CCGame.js index ae1f056b91..6521016514 100644 --- a/cocos2d/core/CCGame.js +++ b/cocos2d/core/CCGame.js @@ -708,6 +708,7 @@ var game = { if (cc._renderType === game.RENDER_TYPE_WEBGL) { var opts = { 'stencil': true, + 'antialias': false, 'alpha': cc.macro.ENABLE_TRANSPARENT_CANVAS }; if (isWeChatGame) {