Enable dedi gpu on laptops by default
This commit is contained in:
parent
4f8993668b
commit
9f8d2d9296
1 changed files with 6 additions and 0 deletions
|
|
@ -229,3 +229,9 @@ int main(int argc, char **argv)
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
// Enable high performance graphics on multi-gpu laptops, since we can't pick devices in WGL
|
||||
#ifdef _WIN32
|
||||
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
|
||||
__declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 0x00000001;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue