Procházet zdrojové kódy

remove old warning

Guilherme Avila před 5 roky
rodič
revize
7a0674cd1a
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

@@ -180,10 +180,6 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
 
 			extensions.get( 'EXT_color_buffer_float' );
 
-		} else if ( internalFormat === _gl.RGB16F || internalFormat === _gl.RGB32F ) {
-
-			console.warn( 'THREE.WebGLRenderer: Floating point textures with RGB format not supported. Please use RGBA instead.' );
-
 		}
 
 		return internalFormat;