From 114bf7544ad794913884592ce377d2f7e3dbf0be Mon Sep 17 00:00:00 2001 From: Onek8 Date: Mon, 2 Jun 2025 17:14:44 +0000 Subject: [PATCH] t3du - CA Updates --- leenkx/Sources/leenkx/renderpath/Inc.hx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/leenkx/Sources/leenkx/renderpath/Inc.hx b/leenkx/Sources/leenkx/renderpath/Inc.hx index 8f15a4f..b27d4ad 100644 --- a/leenkx/Sources/leenkx/renderpath/Inc.hx +++ b/leenkx/Sources/leenkx/renderpath/Inc.hx @@ -544,13 +544,14 @@ class Inc { rt.unload(); path.renderTargets.remove("shadowMap"); } - } - else if (l.data.raw.shadowmap_size != config.rp_shadowmap_cube) { - l.data.raw.shadowmap_size = config.rp_shadowmap_cube; - var rt = path.renderTargets.get("shadowMapCube"); - if (rt != null) { - rt.unload(); - path.renderTargets.remove("shadowMapCube"); + } + else if (l.data.raw.shadowmap_size != config.rp_shadowmap_cube) { + l.data.raw.shadowmap_size = config.rp_shadowmap_cube; + var rt = path.renderTargets.get("shadowMapCube"); + if (rt != null) { + rt.unload(); + path.renderTargets.remove("shadowMapCube"); + } } } if (superSample != config.rp_supersample) {