Fixed: Force use of NVIDIA GPU if Optimus is present

--HG--
branch : develop
hg/feature/material-editor
kervala 9 years ago
parent 326520465c
commit a340260e40

@ -121,6 +121,12 @@ static void sigHandler(int Sig)
//---------------------------------------------------
#ifdef NL_OS_WINDOWS
// enable optimus for NVIDIA cards
extern "C"
{
_declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
}
void pump ()
{
// Display the window

Loading…
Cancel
Save