diff options
author | Oz Linden <oz@lindenlab.com> | 2012-06-27 14:18:22 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-06-27 14:18:22 -0400 |
commit | 2c3e78f1f1f5851482e5e63d37af1325f3a19550 (patch) | |
tree | 1871ea15c18377defe5e20a198baf8072e791efc /indra/newview/llface.cpp | |
parent | eb03da6e993eb33e1fef9bf53268c66d325adf9a (diff) | |
parent | c9f1b1b5113031d5879e8fcdcec263626a7d3122 (diff) |
merge changes for DRTVWR-167
Diffstat (limited to 'indra/newview/llface.cpp')
-rwxr-xr-x[-rw-r--r--] | indra/newview/llface.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 49a20d5ef9..d32994cd31 100644..100755 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -1638,7 +1638,8 @@ BOOL LLFace::getGeometryVolume(const LLVolume& volume, if (!do_xform) { LLFastTimer t(FTM_FACE_TEX_QUICK_NO_XFORM); - LLVector4a::memcpyNonAliased16((F32*) tex_coords.get(), (F32*) vf.mTexCoords, num_vertices*2*sizeof(F32)); + S32 tc_size = (num_vertices*2*sizeof(F32)+0xF) & ~0xF; + LLVector4a::memcpyNonAliased16((F32*) tex_coords.get(), (F32*) vf.mTexCoords, tc_size); } else { |