Export AmdPowerXpressRequestHighPerformance to encourage use of dGPU

This commit is contained in:
baldurk
2018-05-03 15:35:01 +01:00
parent 2c084b478e
commit 70f879ad7a
+1
View File
@@ -41,6 +41,7 @@
#if defined(Q_OS_WIN32)
extern "C" {
_declspec(dllexport) unsigned long NvOptimusEnablement = 0x00000001;
_declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
}
#endif