Oopsies. Don't cast a LLStrider<> element to LLVector4a. The array itself is aligned, but not necessarily the individual elements(eg: if in strided/interleaved mode!)

This commit is contained in:
Shyotl
2011-08-11 03:35:20 -05:00
parent 8d242f24dd
commit 8e1c70dcaa

View File

@@ -251,7 +251,8 @@ void LLVOTextBubble::getGeometry(S32 idx,
{
LLVector4a t;
t.setMul(face.mPositions[i],scale);
((LLVector4a*)(verticesp++))->setAdd(t,pos);
t.add(pos);
(verticesp++)->set(t.getF32ptr());
*colorsp++ = color;
}