Get rid of ugly alignment macros and some other cruft, we now have alignas(16) from C++11

This commit is contained in:
Henrik Rydgård 2017-08-31 01:14:51 +02:00
parent 0c0da1cfa3
commit 22e65ba80d
26 changed files with 73 additions and 127 deletions

View file

@ -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];