steamcompmgr: unset ENABLE_VKBASALT for subcommands

We only want gamescope's outermost swapchain to get hooked, similar as the
Steam overlay.
This commit is contained in:
Pierre-Loup A. Griffais 2020-09-14 13:13:30 -07:00
parent 0619998a49
commit cdfe50d53b

View file

@ -2816,6 +2816,8 @@ steamcompmgr_main (int argc, char **argv)
setenv( "LD_PRELOAD", strNewPreload.c_str(), 1 );
}
unsetenv( "ENABLE_VKBASALT" );
execvp( argv[ g_nSubCommandArg ], &argv[ g_nSubCommandArg ] );
}