Make VERT coord field aligned to 16 bytes.
This commit is contained in:
parent
79cd1fc354
commit
589960f91b
|
@ -521,12 +521,13 @@ struct POLYLIST {
|
|||
};
|
||||
|
||||
struct VERT {
|
||||
// Align to 16 for SSE instructions to work
|
||||
union {
|
||||
float coord[4];
|
||||
struct {
|
||||
float x,y,z,w;
|
||||
};
|
||||
};
|
||||
} DS_ALIGN(16);
|
||||
union {
|
||||
float texcoord[2];
|
||||
struct {
|
||||
|
|
Loading…
Reference in New Issue