summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorMichael Maltese <michaeljosephmaltese@gmail.com>2017-04-06 13:52:42 -0700
committerMichael Maltese <michaeljosephmaltese@gmail.com>2017-04-06 13:52:42 -0700
commitcef5bd4a093482856f94e43361645e988289ab89 (patch)
treef9d867331bd853d466098b47002c16914b7d3ae8 /Source/Core/VideoCommon/TextureCacheBase.cpp
parentf94cd57a7012bc6cce22f22f84356d9e260c0461 (diff)
TextureCacheBase: remove duplicated variable
Fixes warning: ``` Source/Core/VideoCommon/TextureCacheBase.cpp:869:17: warning: declaration shadows a local variable [-Wshadow] const u8* tlut = &texMem[tlutaddr]; ^ Source/Core/VideoCommon/TextureCacheBase.cpp:784:13: note: previous declaration is here const u8* tlut = &texMem[tlutaddr]; ^ ```
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp
index 4894914b5c..0db64e5996 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.cpp
+++ b/Source/Core/VideoCommon/TextureCacheBase.cpp
@@ -866,7 +866,6 @@ TextureCacheBase::TCacheEntryBase* TextureCacheBase::Load(const u32 stage)
const u8*& mip_src_data = from_tmem ? ((level % 2) ? ptr_odd : ptr_even) : src_data;
size_t mip_size =
TexDecoder_GetTextureSizeInBytes(expanded_mip_width, expanded_mip_height, texformat);
- const u8* tlut = &texMem[tlutaddr];
if (decode_on_gpu)
{