Remove outdated SM_ALIGN macro.

This commit is contained in:
Jason Felds
2013-10-18 18:39:25 -04:00
parent 7f9972ea74
commit 702f091ea1
2 changed files with 3 additions and 12 deletions
+3 -3
View File
@@ -181,7 +181,7 @@ public:
friend RageVector4 operator * ( float f, const RageVector4& other ) { return other*f; } friend RageVector4 operator * ( float f, const RageVector4& other ) { return other*f; }
float x, y, z, w; float x, y, z, w;
} SM_ALIGN(16); };
struct RageColor struct RageColor
{ {
@@ -251,7 +251,7 @@ public:
void FromStackCompat( lua_State *L, int iPos ); void FromStackCompat( lua_State *L, int iPos );
float r, g, b, a; float r, g, b, a;
} SM_ALIGN(16); };
/* Convert floating-point 0..1 value to integer 0..255 value. * /* Convert floating-point 0..1 value to integer 0..255 value. *
* *
@@ -389,7 +389,7 @@ public:
RageMatrix GetTranspose() const; RageMatrix GetTranspose() const;
float m[4][4]; float m[4][4];
} SM_ALIGN(16); };
#endif #endif
-9
View File
@@ -179,15 +179,6 @@ template<int> struct CompileAssertDecl { };
#define CONST_FUNCTION #define CONST_FUNCTION
#endif #endif
#if defined(__GNUC__)
#define SM_ALIGN(n) __attribute__((aligned(n)))
#else
/** @brief A dummy define to keep things going smoothly. */
#define SM_ALIGN(n)
#endif
#include "StdString.h" #include "StdString.h"
/** @brief Use RStrings throughout the program. */ /** @brief Use RStrings throughout the program. */
typedef StdString::CStdString RString; typedef StdString::CStdString RString;