summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-05-30 02:22:01 -0500
committerDave Parks <davep@lindenlab.com>2011-05-30 02:22:01 -0500
commit522a28d12721e1cc2e7f726882baa79be97d55fa (patch)
tree6076f64adf3743bbee5ae9de8ab4bafdb4e3f58b /indra
parent504e0a2522ec2fbe1ce17f9d29c42c1936cb0e79 (diff)
Fix for classic clouds being busted.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llvoclouds.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llvoclouds.cpp b/indra/newview/llvoclouds.cpp
index 78aa6e6ab8..478708cd78 100644
--- a/indra/newview/llvoclouds.cpp
+++ b/indra/newview/llvoclouds.cpp
@@ -244,9 +244,13 @@ void LLVOClouds::getGeometry(S32 te,
vtx[2] = puff_pos_agent + right + up;
vtx[3] = puff_pos_agent + right - up;
+ verticesp->mV[3] = 0.f;
*verticesp++ = vtx[0];
+ verticesp->mV[3] = 0.f;
*verticesp++ = vtx[1];
+ verticesp->mV[3] = 0.f;
*verticesp++ = vtx[2];
+ verticesp->mV[3] = 0.f;
*verticesp++ = vtx[3];
*texcoordsp++ = uvs[0];