diff options
author | Dave Parks <davep@lindenlab.com> | 2011-05-30 02:22:01 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-05-30 02:22:01 -0500 |
commit | 522a28d12721e1cc2e7f726882baa79be97d55fa (patch) | |
tree | 6076f64adf3743bbee5ae9de8ab4bafdb4e3f58b | |
parent | 504e0a2522ec2fbe1ce17f9d29c42c1936cb0e79 (diff) |
Fix for classic clouds being busted.
-rw-r--r-- | indra/newview/llvoclouds.cpp | 4 |
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]; |