Remove outdated SM_ALIGN macro.
This commit is contained in:
+3
-3
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user