From 6fd599441a244cc2b5452e801fe5b0a35226690f Mon Sep 17 00:00:00 2001 From: Dmugetsu Date: Sun, 16 Mar 2025 14:00:36 -0600 Subject: [PATCH] clang dosent work on this part --- src/core/devtools/layer.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/core/devtools/layer.cpp b/src/core/devtools/layer.cpp index 0d0be49f3..562a722a4 100644 --- a/src/core/devtools/layer.cpp +++ b/src/core/devtools/layer.cpp @@ -94,12 +94,14 @@ void L::DrawMenuBar() { { Checkbox("RCAS", &fsr.use_rcas); BeginDisabled(!fsr.use_rcas); - { - SliderFloat("RCAS Attenuation", &fsr.rcas_attenuation, 0.0, 3.0); + { + SliderFloat("RCAS Attenuation", &fsr.rcas_attenuation, 0.0, 3.0); } EndDisabled(); } EndDisabled(); + } + EndDisabled(); ImGui::EndMenu(); } ImGui::EndMenu();