Browse Source

WebGLBindingStates: Correct vertexAttribIPointer() call.

Mugen87 5 years ago
parent
commit
2c64c9a55f
1 changed files with 1 additions and 1 deletions
  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 {