Skip to content

Commit f3e59f7

Browse files
Revert "Textures: Support explicit depthTexture"
This reverts commit 95e3aef.
1 parent 0a7429c commit f3e59f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/renderers/common/Textures.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class Textures extends DataMap {
7171
const mipWidth = size.width >> activeMipmapLevel;
7272
const mipHeight = size.height >> activeMipmapLevel;
7373

74-
const useDepthTexture = renderTarget.depthTexture !== null || renderTarget.depthBuffer === true || renderTarget.stencilBuffer === true;
74+
const useDepthTexture = renderTarget.depthBuffer === true || renderTarget.stencilBuffer === true;
7575
let depthTexture = null;
7676

7777
let textureNeedsUpdate = false;

0 commit comments

Comments
 (0)