summaryrefslogtreecommitdiff
path: root/src/components/ConfigurationSection.tsx
diff options
context:
space:
mode:
authorKurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>2025-09-17 14:43:23 -0400
committerGitHub <noreply@github.com>2025-09-17 14:43:23 -0400
commit21b076df45f542fdc02e8b5574abcd91e9d68f89 (patch)
tree1777d18399d72c89c070ebf3785ba327723ccf92 /src/components/ConfigurationSection.tsx
parent86e95630b43a27e3e90268849432d11839303a81 (diff)
parent08dd3c3d6dba652fd678941286bb9c0132dd9522 (diff)
downloaddecky-lsfg-vk-21b076df45f542fdc02e8b5574abcd91e9d68f89.tar.gz
decky-lsfg-vk-21b076df45f542fdc02e8b5574abcd91e9d68f89.zip
Merge pull request #170 from xXJSONDeruloXx/feat/zink
feat: add enable zink toggle for openGL compat
Diffstat (limited to 'src/components/ConfigurationSection.tsx')
-rw-r--r--src/components/ConfigurationSection.tsx11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx
index 094cb02..9afc650 100644
--- a/src/components/ConfigurationSection.tsx
+++ b/src/components/ConfigurationSection.tsx
@@ -6,7 +6,7 @@ import { FpsMultiplierControl } from "./FpsMultiplierControl";
import {
NO_FP16, FLOW_SCALE, PERFORMANCE_MODE, HDR_MODE,
EXPERIMENTAL_PRESENT_MODE, DXVK_FRAME_RATE, DISABLE_STEAMDECK_MODE,
- MANGOHUD_WORKAROUND, DISABLE_VKBASALT, FORCE_ENABLE_VKBASALT, ENABLE_WSI
+ MANGOHUD_WORKAROUND, DISABLE_VKBASALT, FORCE_ENABLE_VKBASALT, ENABLE_WSI, ENABLE_ZINK
} from "../config/generatedConfigSchema";
interface ConfigurationSectionProps {
@@ -221,6 +221,15 @@ export function ConfigurationSection({
}}
/>
</PanelSectionRow>
+
+ <PanelSectionRow>
+ <ToggleField
+ label="Enable Zink for OpenGL Games"
+ description="Use Vulkan-based OpenGL implementation for OpenGL games (may cause crashes or freezes with some games)"
+ checked={config.enable_zink}
+ onChange={(value) => onConfigChange(ENABLE_ZINK, value)}
+ />
+ </PanelSectionRow>
</>
)}
</>