From 4d22fd3edb414eb727a7435000202898382baccf Mon Sep 17 00:00:00 2001 From: Andrew Copland Date: Sun, 29 Mar 2020 14:05:24 +0100 Subject: [PATCH] Cleaned up the comments and AMD PowerXpress flag according to AMDs docs --- src/win32/OSWin32.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/win32/OSWin32.cpp b/src/win32/OSWin32.cpp index cc651ff4e..1563a8b60 100644 --- a/src/win32/OSWin32.cpp +++ b/src/win32/OSWin32.cpp @@ -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