提交 23ad7d5f 编写于 作者: B Ben Adams

fix extension

上级 e6625a93
......@@ -83,6 +83,8 @@ THREE.WebGLState = function ( gl, extensions, paramThreeToGL ) {
if ( attributeDivisors[ attribute ] !== meshPerAttribute ) {
extension = extension || extensions.get( 'ANGLE_instanced_arrays' );
extension.vertexAttribDivisorANGLE( attribute, meshPerAttribute );
attributeDivisors[ attribute ] = meshPerAttribute;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册