Browse Source

Ignore EXT_shader_texture_lod for WebGL 2.0

Takahiro 7 years ago
parent
commit
a04bea68f7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/renderers/webgl/WebGLExtensions.js

+ 2 - 1
src/renderers/webgl/WebGLExtensions.js

@@ -61,7 +61,8 @@ function WebGLExtensions( gl ) {
 						  'OES_texture_half_float_linear',
 						  'OES_element_index_uint',
 						  'OES_standard_derivatives',
-						  'EXT_frag_depth' ].indexOf( name ) >= 0 ) {
+						  'EXT_frag_depth',
+						  'EXT_shader_texture_lod' ].indexOf( name ) >= 0 ) {
 
 						extension = gl;