Make VERT coord field aligned to 16 bytes.

This commit is contained in:
thelemonman 2013-11-08 15:14:37 +00:00
parent 79cd1fc354
commit 589960f91b
1 changed files with 2 additions and 1 deletions

View File

@ -521,12 +521,13 @@ struct POLYLIST {
}; };
struct VERT { struct VERT {
// Align to 16 for SSE instructions to work
union { union {
float coord[4]; float coord[4];
struct { struct {
float x,y,z,w; float x,y,z,w;
}; };
}; } DS_ALIGN(16);
union { union {
float texcoord[2]; float texcoord[2];
struct { struct {