super-three 0.160.0 → 0.160.1
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 +1 -1
- package/build/three.js +1 -1
- package/build/three.min.js +1 -1
- package/build/three.module.js +1 -1
- package/build/three.module.min.js +1 -1
- package/package.json +1 -1
- package/src/renderers/WebGLRenderer.js +1 -1
package/build/three.cjs
CHANGED
|
@@ -31597,7 +31597,7 @@ class WebGLRenderer {
|
|
|
31597
31597
|
|
|
31598
31598
|
renderTargetProperties.__autoAllocateDepthBuffer = depthTexture === undefined;
|
|
31599
31599
|
|
|
31600
|
-
if ( ! renderTargetProperties.__autoAllocateDepthBuffer && ! _currentRenderTarget.isWebGLMultiviewRenderTarget ) {
|
|
31600
|
+
if ( ! renderTargetProperties.__autoAllocateDepthBuffer && ( ! _currentRenderTarget || ! _currentRenderTarget.isWebGLMultiviewRenderTarget ) ) {
|
|
31601
31601
|
|
|
31602
31602
|
// The multisample_render_to_texture extension doesn't work properly if there
|
|
31603
31603
|
// are midframe flushes and an external depth buffer. Disable use of the extension.
|
package/build/three.js
CHANGED
|
@@ -31602,7 +31602,7 @@ console.warn( 'Scripts "build/three.js" and "build/three.min.js" are deprecated
|
|
|
31602
31602
|
|
|
31603
31603
|
renderTargetProperties.__autoAllocateDepthBuffer = depthTexture === undefined;
|
|
31604
31604
|
|
|
31605
|
-
if ( ! renderTargetProperties.__autoAllocateDepthBuffer && ! _currentRenderTarget.isWebGLMultiviewRenderTarget ) {
|
|
31605
|
+
if ( ! renderTargetProperties.__autoAllocateDepthBuffer && ( ! _currentRenderTarget || ! _currentRenderTarget.isWebGLMultiviewRenderTarget ) ) {
|
|
31606
31606
|
|
|
31607
31607
|
// The multisample_render_to_texture extension doesn't work properly if there
|
|
31608
31608
|
// are midframe flushes and an external depth buffer. Disable use of the extension.
|