Explorar o código

WebGLBindingStates: Correct vertexAttribIPointer() call.

Mugen87 %!s(int64=5) %!d(string=hai) anos
pai
achega
2c64c9a55f
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 {