From 51a44e455b9b188efc4c17f2d1e034cf60d85a3c Mon Sep 17 00:00:00 2001 From: Chris Lorenzo Date: Sat, 29 Mar 2025 23:29:06 -0400 Subject: [PATCH] Update WebGlRenderer.ts These are never undefined, they are set to false by default making this always return false --- src/core/renderers/webgl/WebGlRenderer.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/renderers/webgl/WebGlRenderer.ts b/src/core/renderers/webgl/WebGlRenderer.ts index d2f16fe2..524b2245 100644 --- a/src/core/renderers/webgl/WebGlRenderer.ts +++ b/src/core/renderers/webgl/WebGlRenderer.ts @@ -392,8 +392,8 @@ export class WebGlRenderer extends CoreRenderer { // @todo: This needs to be improved, render operations could also be reused // for rendering to texture if ( - params.parentHasRenderTexture !== undefined || - params.rtt !== undefined + params.parentHasRenderTexture === true || + params.rtt === true ) { return false; }