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/package.json
CHANGED
|
@@ -2235,7 +2235,7 @@ class WebGLRenderer {
|
|
|
2235
2235
|
|
|
2236
2236
|
renderTargetProperties.__autoAllocateDepthBuffer = depthTexture === undefined;
|
|
2237
2237
|
|
|
2238
|
-
if ( ! renderTargetProperties.__autoAllocateDepthBuffer && ! _currentRenderTarget.isWebGLMultiviewRenderTarget ) {
|
|
2238
|
+
if ( ! renderTargetProperties.__autoAllocateDepthBuffer && ( ! _currentRenderTarget || ! _currentRenderTarget.isWebGLMultiviewRenderTarget ) ) {
|
|
2239
2239
|
|
|
2240
2240
|
// The multisample_render_to_texture extension doesn't work properly if there
|
|
2241
2241
|
// are midframe flushes and an external depth buffer. Disable use of the extension.
|