Skip to content

Commit

Permalink
Update WebGLCapabilities.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 authored Oct 21, 2024
1 parent f3fb71f commit 4adc399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/webgl/WebGLCapabilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function WebGLCapabilities( gl, extensions, parameters, utils ) {
}

const logarithmicDepthBuffer = parameters.logarithmicDepthBuffer === true;
const reverseDepthBuffer = extensions.has( 'EXT_clip_control' );
const reverseDepthBuffer = parameters.reverseDepthBuffer === true && extensions.has( 'EXT_clip_control' );

const maxTextures = gl.getParameter( gl.MAX_TEXTURE_IMAGE_UNITS );
const maxVertexTextures = gl.getParameter( gl.MAX_VERTEX_TEXTURE_IMAGE_UNITS );
Expand Down

0 comments on commit 4adc399

Please sign in to comment.