Sfoglia il codice sorgente

Ignore EXT_shader_texture_lod for WebGL 2.0

Takahiro 7 anni fa
parent
commit
a04bea68f7
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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;
 

粤ICP备19079148号