aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llglslshader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llglslshader.cpp')
-rw-r--r--linden/indra/newview/llglslshader.cpp2
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 }