From 8a188e1a1308890517e622bb2c120730a566196a Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 2 Jan 2005 23:08:42 +0000 Subject: [PATCH] try to align 16-byte types to 16 bytes --- stepmania/src/RageTypes.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/RageTypes.h b/stepmania/src/RageTypes.h index 7650aa804d..7b4d10dde6 100644 --- a/stepmania/src/RageTypes.h +++ b/stepmania/src/RageTypes.h @@ -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() {};