소스 검색

WebGLRenderer: Removed premature bindAttribLocation.
This broke tons of examples on Chrome/Android...

Mr.doob 12 년 전
부모
커밋
1813ee4679
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      src/renderers/WebGLRenderer.js

+ 0 - 4
src/renderers/WebGLRenderer.js

@@ -5632,10 +5632,6 @@ THREE.WebGLRenderer = function ( parameters ) {
 
 			_gl.bindAttribLocation( program, 0, index0AttributeName );
 
-		} else {
-
-			_gl.bindAttribLocation( program, 0, 'position' );			
-
 		}
 
 		_gl.linkProgram( program );

粤ICP备19079148号