1
0
Fork 0

Request AMD PowerXpress.

This commit is contained in:
James Turner 2016-09-27 17:16:46 -05:00
parent 5bf9b3cd02
commit ca70e64261

View file

@ -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