summaryrefslogtreecommitdiff
path: root/src/components/ConfigurationSection.tsx
diff options
context:
space:
mode:
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>
</>
)}
</>