2
0
Эх сурвалжийг харах

Merge pull request #19862 from Mugen87/dev45

WebGLBindingStates: Correct vertexAttribIPointer() call.
Mr.doob 5 жил өмнө
parent
commit
c5f9daf720

+ 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 ) ) {
 		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 {
 		} else {