Explicit enforcement of alignment for all aligned types, including structures with aligned members. (Compiler handholding)

This commit is contained in:
Shyotl
2014-06-22 03:39:33 -05:00
parent 061178ad82
commit 7c073c1db7
18 changed files with 140 additions and 32 deletions

View File

@@ -750,10 +750,10 @@ public:
class PathPt
{
public:
LLMatrix4a mRot;
LLVector4a mPos;
LL_ALIGN_16(LLMatrix4a mRot);
LL_ALIGN_16(LLVector4a mPos);
LLVector4a mScale;
LL_ALIGN_16(LLVector4a mScale);
F32 mTexT;
F32 pad[3]; //for alignment
PathPt()