From 698538ac843e8cf2b82dea0f893a1d35204accb2 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 8 Jan 2025 17:17:48 +0100 Subject: Unset DRI_PRIME as well --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 9c20a81..c81bc8c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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 register_x11_hotkeys(gsr::Overlay *overlay) { -- cgit v1.2.3