Procházet zdrojové kódy

WebGLTextures: Remove UnsignedShortType check.

Mugen87 před 5 roky
rodič
revize
2b848b2ec1
1 změnil soubory, kde provedl 0 přidání a 4 odebrání
  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.' );
-
 					}
 
 				}