super-three 0.173.1 → 0.173.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-three",
3
- "version": "0.173.1",
3
+ "version": "0.173.3",
4
4
  "description": "JavaScript 3D library",
5
5
  "type": "module",
6
6
  "main": "./build/three.cjs",
@@ -1580,7 +1580,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
1580
1580
 
1581
1581
  }
1582
1582
 
1583
- } else if ( renderTarget.depthBuffer && ! renderTarget.stencilBuffer ) {
1583
+ } else if ( renderTarget.depthBuffer ) {
1584
1584
 
1585
1585
  // retrieve the depth attachment types
1586
1586
  const depthTexture = renderTarget.depthTexture;
@@ -1670,7 +1670,6 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
1670
1670
 
1671
1671
  }
1672
1672
 
1673
- setTexture2D( renderTarget.depthTexture, 0 );
1674
1673
  if ( renderTarget.depthTexture.image.depth != 1 ) {
1675
1674
 
1676
1675
  setTexture2DArray( renderTarget.depthTexture, 0 );