From 8fd05d5514baaf8b8aca77a0d9a1c3d1d1d65a5e Mon Sep 17 00:00:00 2001 From: Onek8 Date: Thu, 28 Aug 2025 19:21:48 +0000 Subject: [PATCH] Update leenkx/Sources/leenkx/renderpath/RenderPathForward.hx --- .../leenkx/renderpath/RenderPathForward.hx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/leenkx/Sources/leenkx/renderpath/RenderPathForward.hx b/leenkx/Sources/leenkx/renderpath/RenderPathForward.hx index 94b7bd4..abab814 100644 --- a/leenkx/Sources/leenkx/renderpath/RenderPathForward.hx +++ b/leenkx/Sources/leenkx/renderpath/RenderPathForward.hx @@ -673,6 +673,15 @@ class RenderPathForward { } #end + #if rp_overlays + { + path.setTarget(target); + path.clearTarget(null, 1.0); + path.drawMeshes("overlay"); + } + #end + + #if ((rp_antialiasing == "SMAA") || (rp_antialiasing == "TAA")) { path.setTarget("bufa"); @@ -703,12 +712,6 @@ class RenderPathForward { } #end - #if rp_overlays - { - path.clearTarget(null, 1.0); - path.drawMeshes("overlay"); - } - #end } public static function setupDepthTexture() {