|
@@ -16,7 +16,7 @@ THREE.WebGLShader = ( function () {
|
|
|
|
|
|
return function ( gl, type, string ) {
|
|
return function ( gl, type, string ) {
|
|
|
|
|
|
- var shader = gl.createShader( type );
|
|
|
|
|
|
+ var shader = gl.createShader( type );
|
|
|
|
|
|
gl.shaderSource( shader, string );
|
|
gl.shaderSource( shader, string );
|
|
gl.compileShader( shader );
|
|
gl.compileShader( shader );
|