UI: Use NVIDIA laptop GPU hint

Changes the default "preferred" GPU to the NVIDIA GPU when running the
program on NVIDIA laptops.
This commit is contained in:
jp9000 2018-08-10 06:04:35 -07:00
parent 8695be6a34
commit c7a2a674bc

View File

@ -78,8 +78,9 @@ string opt_starting_collection;
string opt_starting_profile;
string opt_starting_scene;
// AMD PowerXpress High Performance Flags
// GPU hint exports for AMD/NVIDIA laptops
#ifdef _MSC_VER
extern "C" __declspec(dllexport) DWORD NvOptimusEnablement = 1;
extern "C" __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
#endif