DRTVWR-510: Cleanup: Add link for Optimus global variable for nVidia driver.

master
Ptolemy 2020-04-28 09:12:32 -07:00 committed by euclid
parent 3313f382bd
commit 05ddffb6ba
1 changed files with 1 additions and 0 deletions

View File

@ -2703,6 +2703,7 @@ LLGLSPipelineBlendSkyBox::LLGLSPipelineBlendSkyBox(bool depth_test, bool depth_w
#if LL_WINDOWS
// Expose desired use of high-performance graphics processor to Optimus driver
// https://docs.nvidia.com/gameworks/content/technologies/desktop/optimus.htm
extern "C"
{
_declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;