diff options
author | Jacek Antonelli | 2008-08-15 23:45:55 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:55 -0500 |
commit | 9063e60aefe54f7c45aaa8cb24e8998b2c7343ab (patch) | |
tree | 1c8235465701c910a5d76448ddc8eb1f14457ebc /linden/indra/newview/llglslshader.cpp | |
parent | Second Life viewer sources 1.20.9 (diff) | |
download | meta-impy-9063e60aefe54f7c45aaa8cb24e8998b2c7343ab.zip meta-impy-9063e60aefe54f7c45aaa8cb24e8998b2c7343ab.tar.gz meta-impy-9063e60aefe54f7c45aaa8cb24e8998b2c7343ab.tar.bz2 meta-impy-9063e60aefe54f7c45aaa8cb24e8998b2c7343ab.tar.xz |
Second Life viewer sources 1.20.10
Diffstat (limited to 'linden/indra/newview/llglslshader.cpp')
-rw-r--r-- | linden/indra/newview/llglslshader.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linden/indra/newview/llglslshader.cpp b/linden/indra/newview/llglslshader.cpp index afbafde..a9274b5 100644 --- a/linden/indra/newview/llglslshader.cpp +++ b/linden/indra/newview/llglslshader.cpp | |||
@@ -719,13 +719,11 @@ void LLShaderMgr::setShaders() | |||
719 | 719 | ||
720 | if (gSavedSettings.getBOOL("VertexShaderEnable")) | 720 | if (gSavedSettings.getBOOL("VertexShaderEnable")) |
721 | { | 721 | { |
722 | LLPipeline::sDynamicReflections = gSavedSettings.getBOOL("RenderDynamicReflections") && gGLManager.mHasCubeMap && LLFeatureManager::getInstance()->isFeatureAvailable("RenderCubeMap"); | ||
723 | LLPipeline::sWaterReflections = gGLManager.mHasCubeMap; | 722 | LLPipeline::sWaterReflections = gGLManager.mHasCubeMap; |
724 | LLPipeline::sRenderGlow = gSavedSettings.getBOOL("RenderGlow"); | 723 | LLPipeline::sRenderGlow = gSavedSettings.getBOOL("RenderGlow"); |
725 | } | 724 | } |
726 | else | 725 | else |
727 | { | 726 | { |
728 | LLPipeline::sDynamicReflections = | ||
729 | LLPipeline::sRenderGlow = | 727 | LLPipeline::sRenderGlow = |
730 | LLPipeline::sWaterReflections = FALSE; | 728 | LLPipeline::sWaterReflections = FALSE; |
731 | } | 729 | } |