Request AMD PowerXpress.
This commit is contained in:
parent
5bf9b3cd02
commit
ca70e64261
1 changed files with 2 additions and 1 deletions
|
@ -405,10 +405,11 @@ static void upper_case_property(const char *name)
|
|||
p->addChangeListener(muc);
|
||||
}
|
||||
|
||||
// Propose NVIDIA Optimus to use high-end GPU
|
||||
// Propose NVIDIA Optimus / AMD Xpress to use high-end GPU
|
||||
#if defined(SG_WINDOWS)
|
||||
extern "C" {
|
||||
_declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
|
||||
_declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue