diff options
Diffstat (limited to 'linden/indra/newview/llglslshader.cpp')
-rw-r--r-- | linden/indra/newview/llglslshader.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linden/indra/newview/llglslshader.cpp b/linden/indra/newview/llglslshader.cpp index f0ad565..5c8f156 100644 --- a/linden/indra/newview/llglslshader.cpp +++ b/linden/indra/newview/llglslshader.cpp | |||
@@ -732,8 +732,7 @@ void LLShaderMgr::setShaders() | |||
732 | initAttribsAndUniforms(); | 732 | initAttribsAndUniforms(); |
733 | gPipeline.releaseGLBuffers(); | 733 | gPipeline.releaseGLBuffers(); |
734 | 734 | ||
735 | if (gGLManager.mHasFramebufferObject && | 735 | if (gSavedSettings.getBOOL("VertexShaderEnable")) |
736 | gSavedSettings.getBOOL("VertexShaderEnable")) | ||
737 | { | 736 | { |
738 | LLPipeline::sDynamicReflections = gSavedSettings.getBOOL("RenderDynamicReflections") && gGLManager.mHasCubeMap && LLFeatureManager::getInstance()->isFeatureAvailable("RenderCubeMap"); | 737 | LLPipeline::sDynamicReflections = gSavedSettings.getBOOL("RenderDynamicReflections") && gGLManager.mHasCubeMap && LLFeatureManager::getInstance()->isFeatureAvailable("RenderCubeMap"); |
739 | LLPipeline::sWaterReflections = gGLManager.mHasCubeMap; | 738 | LLPipeline::sWaterReflections = gGLManager.mHasCubeMap; |