소스 검색

Changed "antialias" to "alpha" in contextAttributes

Peter Varga 6 년 전
부모
커밋
491ae413b8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/manual/en/introduction/How-to-use-WebGL2.html

+ 1 - 1
docs/manual/en/introduction/How-to-use-WebGL2.html

@@ -55,7 +55,7 @@ if ( WEBGL.isWebGL2Available() === false ) {
 
 	<code>
 var canvas = document.createElement( 'canvas' );
-var context = canvas.getContext( 'webgl2', { antialias: false } );
+var context = canvas.getContext( 'webgl2', { alpha: false } );
 var renderer = new THREE.WebGLRenderer( { canvas: canvas, context: context } );
 	</code>