Skip to content

Commit 51462bf

Browse files
committed
Updated builds.
1 parent b17a561 commit 51462bf

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

build/three.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24988,7 +24988,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
2498824988

2498924989
if ( renderTarget.depthBuffer && ! renderTarget.stencilBuffer ) {
2499024990

24991-
let glInternalFormat = _gl.DEPTH_COMPONENT16;
24991+
let glInternalFormat = ( isWebGL2 === true ) ? _gl.DEPTH_COMPONENT24 : _gl.DEPTH_COMPONENT16;
2499224992

2499324993
if ( isMultisample || useMultisampledRTT( renderTarget ) ) {
2499424994

build/three.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24993,7 +24993,7 @@ console.warn( 'Scripts "build/three.js" and "build/three.min.js" are deprecated
2499324993

2499424994
if ( renderTarget.depthBuffer && ! renderTarget.stencilBuffer ) {
2499524995

24996-
let glInternalFormat = _gl.DEPTH_COMPONENT16;
24996+
let glInternalFormat = ( isWebGL2 === true ) ? _gl.DEPTH_COMPONENT24 : _gl.DEPTH_COMPONENT16;
2499724997

2499824998
if ( isMultisample || useMultisampledRTT( renderTarget ) ) {
2499924999

build/three.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/three.module.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24986,7 +24986,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
2498624986

2498724987
if ( renderTarget.depthBuffer && ! renderTarget.stencilBuffer ) {
2498824988

24989-
let glInternalFormat = _gl.DEPTH_COMPONENT16;
24989+
let glInternalFormat = ( isWebGL2 === true ) ? _gl.DEPTH_COMPONENT24 : _gl.DEPTH_COMPONENT16;
2499024990

2499124991
if ( isMultisample || useMultisampledRTT( renderTarget ) ) {
2499224992

build/three.module.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)