|
@@ -2853,10 +2853,8 @@ THREE.WebGLRenderer = function ( parameters ) {
|
|
|
extension = extensions.get( 'EXT_texture_filter_anisotropic' );
|
|
|
|
|
|
if ( extension ) {
|
|
|
- if ( texture.type === THREE.FloatType && !extensions.get( 'OES_texture_float_linear' ) ||
|
|
|
- texture.type === THREE.HalfFloatType && !extensions.get( 'OES_texture_half_float_linear' ) ) {
|
|
|
- return;
|
|
|
- }
|
|
|
+ if ( texture.type === THREE.FloatType && extensions.get( 'OES_texture_float_linear' ) === null ) return;
|
|
|
+ if ( texture.type === THREE.HalfFloatType && extensions.get( 'OES_texture_half_float_linear' ) === null ) return;
|
|
|
|
|
|
if ( texture.anisotropy > 1 || properties.get( texture ).__currentAnisotropy ) {
|
|
|
|