Browse Source

WebGLTextures: Remove UnsignedShortType check.

Mugen87 5 years ago
parent
commit
2b848b2ec1
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/renderers/webgl/WebGLTextures.js

+ 0 - 4
src/renderers/webgl/WebGLTextures.js

@@ -856,10 +856,6 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
 
 						glInternalFormat = _gl.DEPTH_COMPONENT24;
 
-					} else {
-
-						console.error( 'WebGLRenderer: THREE.UnsignedShortType not supported as a type for depth textures when using THREE.WebGLMultisampleRenderTarget.' );
-
 					}
 
 				}