summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolmaterials.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/lldrawpoolmaterials.cpp')
-rw-r--r--indra/newview/lldrawpoolmaterials.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/indra/newview/lldrawpoolmaterials.cpp b/indra/newview/lldrawpoolmaterials.cpp
index 15033160d5..c0e4ed38c1 100644
--- a/indra/newview/lldrawpoolmaterials.cpp
+++ b/indra/newview/lldrawpoolmaterials.cpp
@@ -183,23 +183,6 @@ void LLDrawPoolMaterials::renderDeferred(S32 pass)
glUniform4fv(specular, 1, lastSpecular.mV);
}
- if (gPipeline.mHeroProbeManager.isMirrorPass())
- {
- mShader->uniform1f(LLShaderMgr::MIRROR_FLAG, 1);
- }
- else
- {
- mShader->uniform1f(LLShaderMgr::MIRROR_FLAG, 0);
- }
-
- LLVector4 clipPlane = LLVector4(gPipeline.mHeroProbeManager.mMirrorPosition[0],
- gPipeline.mHeroProbeManager.mMirrorPosition[1],
- gPipeline.mHeroProbeManager.mMirrorPosition[2],
- 1);
-
- mShader->uniform4fv(LLShaderMgr::CLIP_PLANE,
- 1, clipPlane.mV);
-
LLVOAvatar* lastAvatar = nullptr;
for (LLCullResult::drawinfo_iterator i = begin; i != end; )