try to align 16-byte types to 16 bytes

This commit is contained in:
Glenn Maynard
2005-01-02 23:08:42 +00:00
parent f60254ba0e
commit 8a188e1a13
+3 -3
View File
@@ -70,7 +70,7 @@ public:
};
struct RageVector4
struct ALIGN(16) RageVector4
{
public:
RageVector4() {}
@@ -98,7 +98,7 @@ public:
float x, y, z, w;
};
struct RageColor
struct ALIGN(16) RageColor
{
public:
RageColor() {}
@@ -253,7 +253,7 @@ struct RageModelVertex // doesn't have color. Relies on material color
// MAX, Direct3D, and OpenGL all handle matrices. Even though the OpenGL
// documentation is in column-major form, the OpenGL code is designed to
// handle matrix operations in row-major form.
struct RageMatrix
struct ALIGN(16) RageMatrix
{
public:
RageMatrix() {};