Skip to content

Commit

Permalink
Add explanation for antialias option
Browse files Browse the repository at this point in the history
  • Loading branch information
pandamicro committed Feb 24, 2018
1 parent 8dee57c commit f48bd63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cocos2d/core/CCGame.js
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,8 @@ 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
};
Expand Down

0 comments on commit f48bd63

Please sign in to comment.