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

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});
}
/**