We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a7429c commit f3e59f7Copy full SHA for f3e59f7
1 file changed
src/renderers/common/Textures.js
@@ -71,7 +71,7 @@ class Textures extends DataMap {
71
const mipWidth = size.width >> activeMipmapLevel;
72
const mipHeight = size.height >> activeMipmapLevel;
73
74
- const useDepthTexture = renderTarget.depthTexture !== null || renderTarget.depthBuffer === true || renderTarget.stencilBuffer === true;
+ const useDepthTexture = renderTarget.depthBuffer === true || renderTarget.stencilBuffer === true;
75
let depthTexture = null;
76
77
let textureNeedsUpdate = false;
0 commit comments