1
0
Fork 0

Suggest NVIDIA Optimus to use the high-end GPU.

This commit is contained in:
Gijs de Rooy 2013-07-15 21:47:14 +02:00 committed by James Turner
parent 8c02a57ff8
commit 78507bf22e

View file

@ -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()
{