|
@@ -24854,7 +24854,7 @@ function WebGLRenderer( parameters ) {
|
|
|
|
|
|
const halfFloatSupportedByExt = ( textureType === HalfFloatType ) && ( extensions.has( 'EXT_color_buffer_half_float' ) || ( capabilities.isWebGL2 && extensions.has( 'EXT_color_buffer_float' ) ) );
|
|
|
|
|
|
- if ( textureType !== UnsignedByteType && utils.convert( textureType ) !== _gl.getParameter( 35738 ) && // IE11, Edge and Chrome Mac < 52 (#9513)
|
|
|
+ if ( textureType !== UnsignedByteType && utils.convert( textureType ) !== _gl.getParameter( 35738 ) && // Edge and Chrome Mac < 52 (#9513)
|
|
|
! ( textureType === FloatType && ( capabilities.isWebGL2 || extensions.has( 'OES_texture_float' ) || extensions.has( 'WEBGL_color_buffer_float' ) ) ) && // Chrome Mac >= 52 and Firefox
|
|
|
! halfFloatSupportedByExt ) {
|
|
|
|
|
@@ -40054,7 +40054,7 @@ class Font {
|
|
|
|
|
|
function createPaths( text, size, data ) {
|
|
|
|
|
|
- const chars = Array.from ? Array.from( text ) : String( text ).split( '' ); // workaround for IE11, see #13988
|
|
|
+ const chars = Array.from( text );
|
|
|
const scale = size / data.resolution;
|
|
|
const line_height = ( data.boundingBox.yMax - data.boundingBox.yMin + data.underlineThickness ) * scale;
|
|
|
|