Merge pull request #502 from fsih/turnOffAntiAlias

Turn off antialias
This commit is contained in:
DD Liu 2019-08-30 11:27:30 -04:00 committed by GitHub
commit 3819b66683
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ class RenderWebGL extends EventEmitter {
* @private
*/
static _getContext (canvas) {
return twgl.getWebGLContext(canvas, {alpha: false, stencil: true});
return twgl.getWebGLContext(canvas, {alpha: false, stencil: true, antialias: false});
}
/**