mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-02-05 01:25:45 +00:00
fix(linux): enable lowlatency mode for AMD (#3088)
This commit is contained in:
@ -1313,6 +1313,16 @@ namespace platf {
|
||||
lifetime::exit_sunshine(0, true);
|
||||
}
|
||||
|
||||
int
|
||||
set_env(const std::string &name, const std::string &value) {
|
||||
return _putenv_s(name.c_str(), value.c_str());
|
||||
}
|
||||
|
||||
int
|
||||
unset_env(const std::string &name) {
|
||||
return _putenv_s(name.c_str(), "");
|
||||
}
|
||||
|
||||
struct enum_wnd_context_t {
|
||||
std::set<DWORD> process_ids;
|
||||
bool requested_exit;
|
||||
|
||||
Reference in New Issue
Block a user