Browse Source

WebGLUniforms: Format

Mugen87 7 years ago
parent
commit
a0bcb56352
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/renderers/webgl/WebGLUniforms.js

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

@@ -163,7 +163,7 @@ function setValue2fv( gl, v ) {
 
 	if ( v.x === undefined ) {
 
-		if ( this.cache[ 0 ] === v[ 0 ] &&  this.cache[ 1 ] === v[ 1 ] ) return;
+		if ( this.cache[ 0 ] === v[ 0 ] && this.cache[ 1 ] === v[ 1 ] ) return;
 
 		gl.uniform2fv( this.addr, v );