mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 00:22:43 +08:00
Merge pull request #2357 from pandamicro/v1.8-release
Exclusivly set webgl antialias option to false
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user