Explorar o código

Update WebGLUniforms.js

Clean up.
Michael Herzog hai 1 ano
pai
achega
eea6cc81fa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/renderers/webgl/WebGLUniforms.js

+ 1 - 1
src/renderers/webgl/WebGLUniforms.js

@@ -568,7 +568,7 @@ function setValueT1( gl, v, textures ) {
 
 	}
 
-	let emptyTexture2D = null;
+	let emptyTexture2D;
 
 	if ( this.type === gl.SAMPLER_2D_SHADOW ) {