소스 검색

WebGLTextures: Fix typo.

Mugen87 6 년 전
부모
커밋
67b4e17804
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/renderers/webgl/WebGLTextures.js

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

@@ -662,7 +662,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
 
 				} else {
 
-					glInternalFormat = _gl.DEPTH_COMPONENT16; // WebGL2 requires signed internalformat for glTexImage2D
+					glInternalFormat = _gl.DEPTH_COMPONENT16; // WebGL2 requires sized internalformat for glTexImage2D
 
 				}
 

粤ICP备19079148号