Browse Source

WebGLTextures: Fix typo.

Mugen87 5 years ago
parent
commit
67b4e17804
1 changed files with 1 additions and 1 deletions
  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
 
 				}