Преглед на файлове

WebGLTextures: Remove UnsignedShortType check.

Mugen87 преди 5 години
родител
ревизия
2b848b2ec1
променени са 1 файла, в които са добавени 0 реда и са изтрити 4 реда
  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.' );
-
 					}
 
 				}