Browse Source

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

Mr.doob 11 years ago
parent
commit
1813ee4679
1 changed files with 0 additions and 4 deletions
  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 );
 			_gl.bindAttribLocation( program, 0, index0AttributeName );
 
 
-		} else {
-
-			_gl.bindAttribLocation( program, 0, 'position' );			
-
 		}
 		}
 
 
 		_gl.linkProgram( program );
 		_gl.linkProgram( program );