diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-09-05 11:44:21 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-09-06 12:53:51 -0400 |
| commit | 8ce04f9a65612b7553015428e617ba7c53913175 (patch) | |
| tree | 2ffe9b6317ded8661a1470ac79dde386f3a0329c /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | c08a83a5aae41e7c8904295cfa62f932ea87ce02 (diff) | |
General: Replace GC_ALIGN macros with alignas
Standard supported alignment -> out with compiler-specific.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index 9dcd960037..430004b640 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -25,9 +25,9 @@ static const int TEXTURE_KILL_THRESHOLD = 60; static const int TEXTURE_POOL_KILL_THRESHOLD = 3; static const int FRAMECOUNT_INVALID = 0; -TextureCache *g_texture_cache; +TextureCache* g_texture_cache; -GC_ALIGNED16(u8 *TextureCache::temp) = nullptr; +alignas(16) u8* TextureCache::temp = nullptr; size_t TextureCache::temp_size; TextureCache::TexCache TextureCache::textures_by_address; |
