Merge pull request #2357 from pandamicro/v1.8-release

Exclusivly set webgl antialias option to false
This commit is contained in:
pandamicro
2018-02-24 18:26:16 +08:00
committed by GitHub
+3
View File
@@ -708,6 +708,9 @@ var game = {
if (cc._renderType === game.RENDER_TYPE_WEBGL) {
var opts = {
'stencil': true,
// MSAA is causing serious performance dropdown on some browsers,
// it's temporarily desactivated until we found correct way to let user customize it.
'antialias': false,
'alpha': cc.macro.ENABLE_TRANSPARENT_CANVAS
};
if (isWeChatGame) {