summaryrefslogtreecommitdiff
path: root/indra/newview/llmaniptranslate.cpp
diff options
context:
space:
mode:
authorJJ Linden <jj@lindenlab.com>2013-05-15 14:57:56 -0700
committerJJ Linden <jj@lindenlab.com>2013-05-15 14:57:56 -0700
commita606a1cd68bd858c711856702185ae11194c6311 (patch)
tree2c060215b7ddc02492d715cae6b48d5f3c26f335 /indra/newview/llmaniptranslate.cpp
parent435bda9df464ef7faaf8329ffa094dca9e82a6a4 (diff)
parent50e3b7da42ddbae409f0a2bdbc322da96941fa07 (diff)
merged in branch for changing BuildParams
Diffstat (limited to 'indra/newview/llmaniptranslate.cpp')
-rwxr-xr-x[-rw-r--r--]indra/newview/llmaniptranslate.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llmaniptranslate.cpp b/indra/newview/llmaniptranslate.cpp
index b62db70ec8..06bf294417 100644..100755
--- a/indra/newview/llmaniptranslate.cpp
+++ b/indra/newview/llmaniptranslate.cpp
@@ -1681,7 +1681,8 @@ void LLManipTranslate::highlightIntersection(LLVector3 normal,
gGL.getModelviewMatrix().inverse().mult_vec_matrix(plane);
- gClipProgram.uniform4fv("clip_plane", 1, plane.v);
+ static LLStaticHashedString sClipPlane("clip_plane");
+ gClipProgram.uniform4fv(sClipPlane, 1, plane.v);
BOOL particles = gPipeline.hasRenderType(LLPipeline::RENDER_TYPE_PARTICLES);
BOOL clouds = gPipeline.hasRenderType(LLPipeline::RENDER_TYPE_CLOUDS);