Get rid of ugly alignment macros and some other cruft, we now have alignas(16) from C++11
This commit is contained in:
parent
0c0da1cfa3
commit
22e65ba80d
26 changed files with 73 additions and 127 deletions
|
@ -295,7 +295,7 @@ static inline u32 LookupColor(unsigned int index, unsigned int level)
|
|||
}
|
||||
|
||||
struct Nearest4 {
|
||||
MEMORY_ALIGNED16(u32 v[4]);
|
||||
alignas(16) u32 v[4];
|
||||
|
||||
operator u32() const {
|
||||
return v[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue