Skip to content

Commit 8b148ed

Browse files
committed
Clean up.
1 parent 8b11b94 commit 8b148ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderers/webgl/WebGLTextures.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1644,7 +1644,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
16441644
// Setup resources for a Depth Texture for a FBO (needs an extension)
16451645
function setupDepthTexture( framebuffer, renderTarget, cubeFace ) {
16461646

1647-
const isCube = ( renderTarget && renderTarget.isWebGLCubeRenderTarget );
1647+
const isCube = ( renderTarget.isWebGLCubeRenderTarget === true );
16481648

16491649
state.bindFramebuffer( _gl.FRAMEBUFFER, framebuffer );
16501650

0 commit comments

Comments
 (0)