ソースを参照

Fix assignment

Ben Adams 10 年 前
コミット
e6625a9390
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/renderers/webgl/WebGLState.js

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

@@ -84,7 +84,7 @@ THREE.WebGLState = function ( gl, extensions, paramThreeToGL ) {
 		if ( attributeDivisors[ attribute ] !== meshPerAttribute ) {
 		if ( attributeDivisors[ attribute ] !== meshPerAttribute ) {
 
 
 			extension.vertexAttribDivisorANGLE( attribute, meshPerAttribute );
 			extension.vertexAttribDivisorANGLE( attribute, meshPerAttribute );
-			attributeDivisors[ attribute ] !== meshPerAttribute;
+			attributeDivisors[ attribute ] = meshPerAttribute;
 
 
 		}
 		}
 
 

粤ICP备19079148号