Unset DRI_PRIME as well

This commit is contained in:
dec05eba
2025-01-08 17:17:48 +01:00
parent affa44e387
commit 698538ac84
3 changed files with 2 additions and 3 deletions

View File

@@ -37,6 +37,7 @@ static void disable_prime_run() {
unsetenv("__NV_PRIME_RENDER_OFFLOAD_PROVIDER");
unsetenv("__GLX_VENDOR_LIBRARY_NAME");
unsetenv("__VK_LAYER_NV_optimus");
unsetenv("DRI_PRIME");
}
static std::unique_ptr<gsr::GlobalHotkeysX11> register_x11_hotkeys(gsr::Overlay *overlay) {