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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/lldrawpoolmaterials.cpp b/indra/newview/lldrawpoolmaterials.cpp
index 063dd948f7..15033160d5 100644
--- a/indra/newview/lldrawpoolmaterials.cpp
+++ b/indra/newview/lldrawpoolmaterials.cpp
@@ -192,10 +192,10 @@ void LLDrawPoolMaterials::renderDeferred(S32 pass)
mShader->uniform1f(LLShaderMgr::MIRROR_FLAG, 0);
}
- LLVector4 clipPlane = LLVector4(gPipeline.mHeroProbeManager.currentMirrorClip()[0],
- gPipeline.mHeroProbeManager.currentMirrorClip()[1],
- gPipeline.mHeroProbeManager.currentMirrorClip()[2],
- gPipeline.mHeroProbeManager.currentMirrorClip()[3]);
+ LLVector4 clipPlane = LLVector4(gPipeline.mHeroProbeManager.mMirrorPosition[0],
+ gPipeline.mHeroProbeManager.mMirrorPosition[1],
+ gPipeline.mHeroProbeManager.mMirrorPosition[2],
+ 1);
mShader->uniform4fv(LLShaderMgr::CLIP_PLANE,
1, clipPlane.mV);