浏览代码

WebGLBindingStates: Correct vertexAttribIPointer() call.

Mugen87 5 年之前
父节点
当前提交
2c64c9a55f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/renderers/webgl/WebGLBindingStates.js

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

@@ -282,7 +282,7 @@ function WebGLBindingStates( gl, extensions, attributes, capabilities ) {
 
 		if ( capabilities.isWebGL2 === true && ( type === gl.INT || type === gl.UNSIGNED_INT ) ) {
 
-			gl.vertexAttribIPointer( index, size, type, normalized, stride, offset );
+			gl.vertexAttribIPointer( index, size, type, stride, offset );
 
 		} else {