Explorar o código

Merge pull request #19862 from Mugen87/dev45

WebGLBindingStates: Correct vertexAttribIPointer() call.
Mr.doob %!s(int64=5) %!d(string=hai) anos
pai
achega
c5f9daf720
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 {