Suggest NVIDIA Optimus to use the high-end GPU.
This commit is contained in:
parent
8c02a57ff8
commit
78507bf22e
1 changed files with 6 additions and 0 deletions
|
@ -273,6 +273,12 @@ static void ATIScreenSizeHack()
|
|||
globals->get_renderer()->addCamera(hackCam, false);
|
||||
}
|
||||
|
||||
// Propose NVIDIA Optimus to use high-end GPU
|
||||
#if defined(SG_WINDOWS)
|
||||
extern "C" {
|
||||
_declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
|
||||
}
|
||||
#endif
|
||||
|
||||
static void logToFile()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue