summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorflacs <tilkax@gmail.com>2015-09-11 17:00:13 +0000
committerflacs <tilkax@gmail.com>2015-09-11 17:00:13 +0000
commitc5685ba53a6866cce5c32bf0c3bbbd7aa52dbf6c (patch)
tree7886e61f016f7835a7aadf2bb670c82787b94064 /Source/Core/VideoCommon/TextureCacheBase.cpp
parentd7acf065059ae84eda86e3feb27e0d5c2283be0b (diff)
parent8ce04f9a65612b7553015428e617ba7c53913175 (diff)
Merge pull request #2972 from lioncash/align
General: Replace GC_ALIGN macros with alignas
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp
index 85a1726817..53d91f21aa 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.cpp
+++ b/Source/Core/VideoCommon/TextureCacheBase.cpp
@@ -26,9 +26,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;