Cleaned up the comments and AMD PowerXpress flag according to AMDs docs

master
Andrew Copland 2020-03-29 14:05:24 +01:00
parent 526207bd21
commit 4d22fd3edb
1 changed files with 3 additions and 1 deletions

View File

@ -21,10 +21,12 @@
extern "C" {
// This is the quickest and easiest way to enable using the nVidia GPU on a Windows laptop with a dedicated nVidia GPU and Optimus tech.
// enable optimus!
// https://docs.nvidia.com/gameworks/content/technologies/desktop/optimus.htm
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
// AMD have one too!!!
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
// https://gpuopen.com/amdpowerxpressrequesthighperformance/
__declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 0x00000001;
}
#ifdef RegisterClass