summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2020-04-28 09:12:32 -0700
committereuclid <euclid@Euclid-MBP-2019.local>2020-05-04 12:11:57 -0600
commit05ddffb6bab6da2e2bcaaa215824b4c09d6928e7 (patch)
treec70036422586830b2293dff1afff60e202e2b050 /indra/llrender
parent3313f382bd872ccb68509afbbdbc51c3a96b816f (diff)
DRTVWR-510: Cleanup: Add link for Optimus global variable for nVidia driver.
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llgl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llrender/llgl.cpp b/indra/llrender/llgl.cpp
index 4c56b8eace..7560fe9505 100644
--- a/indra/llrender/llgl.cpp
+++ b/indra/llrender/llgl.cpp
@@ -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;