|
@@ -9523,8 +9523,7 @@ function arrayMax( array ) {
|
|
|
const TYPED_ARRAYS = {
|
|
|
Int8Array: Int8Array,
|
|
|
Uint8Array: Uint8Array,
|
|
|
- // Workaround for IE11 pre KB2929437. See #11440
|
|
|
- Uint8ClampedArray: typeof Uint8ClampedArray !== 'undefined' ? Uint8ClampedArray : Uint8Array,
|
|
|
+ Uint8ClampedArray: Uint8ClampedArray,
|
|
|
Int16Array: Int16Array,
|
|
|
Uint16Array: Uint16Array,
|
|
|
Int32Array: Int32Array,
|
|
@@ -20183,8 +20182,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
|
|
|
|
|
|
const textureProperties = properties.get( texture );
|
|
|
|
|
|
- // Note: Math.log( x ) * Math.LOG2E used instead of Math.log2( x ) which is not supported by IE11
|
|
|
- textureProperties.__maxMipLevel = Math.log( Math.max( width, height ) ) * Math.LOG2E;
|
|
|
+ textureProperties.__maxMipLevel = Math.log2( Math.max( width, height ) );
|
|
|
|
|
|
}
|
|
|
|