Explorar el Código

Merge pull request #11995 from WestLangley/dev-ext_frag_depth

Fix logarithmicDepthBuffer bug
Mr.doob hace 8 años
padre
commit
b3b768ff64
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/renderers/webgl/WebGLCapabilities.js

+ 1 - 1
src/renderers/webgl/WebGLCapabilities.js

@@ -66,7 +66,7 @@ function WebGLCapabilities( gl, extensions, parameters ) {
 
 	}
 
-	var logarithmicDepthBuffer = parameters.logarithmicDepthBuffer === true && !! extensions.get( 'EXT_frag_depth' );
+	var logarithmicDepthBuffer = parameters.logarithmicDepthBuffer === true;
 
 	var maxTextures = gl.getParameter( gl.MAX_TEXTURE_IMAGE_UNITS );
 	var maxVertexTextures = gl.getParameter( gl.MAX_VERTEX_TEXTURE_IMAGE_UNITS );