super-three 0.173.0 → 0.173.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/three.cjs CHANGED
@@ -49254,7 +49254,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
49254
49254
 
49255
49255
  }
49256
49256
 
49257
- } else if ( renderTarget.depthBuffer && ! renderTarget.stencilBuffer ) {
49257
+ } else if ( renderTarget.depthBuffer ) {
49258
49258
 
49259
49259
  // retrieve the depth attachment types
49260
49260
  const depthTexture = renderTarget.depthTexture;
@@ -49344,7 +49344,6 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
49344
49344
 
49345
49345
  }
49346
49346
 
49347
- setTexture2D( renderTarget.depthTexture, 0 );
49348
49347
  if ( renderTarget.depthTexture.image.depth != 1 ) {
49349
49348
 
49350
49349
  setTexture2DArray( renderTarget.depthTexture, 0 );
@@ -11825,7 +11825,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
11825
11825
 
11826
11826
  }
11827
11827
 
11828
- } else if ( renderTarget.depthBuffer && ! renderTarget.stencilBuffer ) {
11828
+ } else if ( renderTarget.depthBuffer ) {
11829
11829
 
11830
11830
  // retrieve the depth attachment types
11831
11831
  const depthTexture = renderTarget.depthTexture;
@@ -11915,7 +11915,6 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
11915
11915
 
11916
11916
  }
11917
11917
 
11918
- setTexture2D( renderTarget.depthTexture, 0 );
11919
11918
  if ( renderTarget.depthTexture.image.depth != 1 ) {
11920
11919
 
11921
11920
  setTexture2DArray( renderTarget.depthTexture, 0 );