diff --git a/indra/llrender/llgl.cpp b/indra/llrender/llgl.cpp index 35b695177969d5dbf4f9cec1389cc28b0c75a5be..f8aa63c16f966146b5ce3df534e599cb6e6142bf 100644 --- a/indra/llrender/llgl.cpp +++ b/indra/llrender/llgl.cpp @@ -2561,5 +2561,10 @@ void LLGLSyncFence::wait() #endif } - - +#if LL_WINDOWS +// Expose desired use of high-performance graphics processor to Optimus driver +extern "C" +{ + _declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001; +} +#endif \ No newline at end of file