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.module.js
CHANGED
|
@@ -31595,7 +31595,7 @@ class WebGLRenderer {
|
|
|
31595
31595
|
|
|
31596
31596
|
renderTargetProperties.__autoAllocateDepthBuffer = depthTexture === undefined;
|
|
31597
31597
|
|
|
31598
|
-
if ( ! renderTargetProperties.__autoAllocateDepthBuffer && ! _currentRenderTarget.isWebGLMultiviewRenderTarget ) {
|
|
31598
|
+
if ( ! renderTargetProperties.__autoAllocateDepthBuffer && ( ! _currentRenderTarget || ! _currentRenderTarget.isWebGLMultiviewRenderTarget ) ) {
|
|
31599
31599
|
|
|
31600
31600
|
// The multisample_render_to_texture extension doesn't work properly if there
|
|
31601
31601
|
// are midframe flushes and an external depth buffer. Disable use of the extension.
|