From ec4541dd78f4e2a58b679b20740f323d8ce76698 Mon Sep 17 00:00:00 2001
From: xXJSONDeruloXx <danielhimebauch@gmail.com>
Date: Tue, 15 Jul 2025 13:11:06 -0400
Subject: add disable_vkbasalt=1 defaulted, hidden ui to expose to users later
 if desired

---
 src/components/ConfigurationSection.tsx | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

(limited to 'src/components/ConfigurationSection.tsx')

diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx
index ee18e5b..34955f8 100644
--- a/src/components/ConfigurationSection.tsx
+++ b/src/components/ConfigurationSection.tsx
@@ -7,6 +7,7 @@ interface LsfgConfig {
   hdr: boolean;
   perfMode: boolean;
   immediateMode: boolean;
+  disableVkbasalt: boolean;
 }
 
 interface ConfigurationSectionProps {
@@ -17,6 +18,7 @@ interface ConfigurationSectionProps {
   onHdrChange: (value: boolean) => Promise<void>;
   onPerfModeChange: (value: boolean) => Promise<void>;
   onImmediateModeChange: (value: boolean) => Promise<void>;
+  onDisableVkbasaltChange: (value: boolean) => Promise<void>;
 }
 
 export function ConfigurationSection({
@@ -26,7 +28,8 @@ export function ConfigurationSection({
   onFlowScaleChange,
   onHdrChange,
   onPerfModeChange,
-  onImmediateModeChange
+  onImmediateModeChange,
+  onDisableVkbasaltChange
 }: ConfigurationSectionProps) {
   return (
     <>
@@ -110,6 +113,15 @@ export function ConfigurationSection({
           onChange={onImmediateModeChange}
         />
       </PanelSectionRow>
+
+      {/* <PanelSectionRow>
+        <ToggleField
+          label="Disable vkbasalt"
+          description="Some plugins add vkbasalt layer, which can break lsfg. Toggling on fixes this"
+          checked={config.disableVkbasalt}
+          onChange={onDisableVkbasaltChange}
+        />
+      </PanelSectionRow> */}
     </>
   );
 }
-- 
cgit v1.2.3

