diff options
| author | 2026-04-04 21:37:16 +0800 | |
|---|---|---|
| committer | 2026-04-04 21:37:16 +0800 | |
| commit | 96cad1ac999b7d6e288a681ce53a23044bc23127 (patch) | |
| tree | 6db700b1dc931a5ac446bd241e9b75ce96f90a55 /src-tauri/src/utils/path.rs | |
| parent | e5f94912615e69c32c353fd6a63790e9b16685e4 (diff) | |
| download | DropOut-96cad1ac999b7d6e288a681ce53a23044bc23127.tar.gz DropOut-96cad1ac999b7d6e288a681ce53a23044bc23127.zip | |
feat: add NVIDIA Prime environment variables for Linux hybrid graphics
- Inject __NV_PRIME_RENDER_OFFLOAD=1 and __GLX_VENDOR_LIBRARY_NAME=nvidia
- Enables discrete GPU usage on Linux systems with hybrid graphics
- Only applies on Linux via #[cfg(target_os = "linux")]
- Closes #154
Diffstat (limited to 'src-tauri/src/utils/path.rs')
0 files changed, 0 insertions, 0 deletions