diff options
| author | Tillmann Karras <tilkax@gmail.com> | 2015-11-06 00:47:50 +0100 |
|---|---|---|
| committer | Tillmann Karras <tilkax@gmail.com> | 2015-11-06 15:43:58 +0100 |
| commit | 2ad901b2da570673797ea822d56c1bb3f6c58984 (patch) | |
| tree | 8d26ac16848ebf2961229979e7ac9c07bb36759e /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | 81d9cce70c5a41b2791ab9cd5e69d4732becc34d (diff) | |
VideoCommon: drop unused variable/setter
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index 9ed4a72261..8f1d700dfd 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -40,8 +40,6 @@ TextureCacheBase::TCacheEntryBase* TextureCacheBase::bound_textures[8]; TextureCacheBase::BackupConfig TextureCacheBase::backup_config; -static bool invalidate_texture_cache_requested; - TextureCacheBase::TCacheEntryBase::~TCacheEntryBase() { } @@ -67,13 +65,6 @@ TextureCacheBase::TextureCacheBase() HiresTexture::Init(); SetHash64Function(); - - invalidate_texture_cache_requested = false; -} - -void TextureCacheBase::RequestInvalidateTextureCache() -{ - invalidate_texture_cache_requested = true; } void TextureCacheBase::Invalidate() @@ -116,14 +107,11 @@ void TextureCacheBase::OnConfigChanged(VideoConfig& config) if (config.iSafeTextureCache_ColorSamples != backup_config.s_colorsamples || config.bTexFmtOverlayEnable != backup_config.s_texfmt_overlay || config.bTexFmtOverlayCenter != backup_config.s_texfmt_overlay_center || - config.bHiresTextures != backup_config.s_hires_textures || - invalidate_texture_cache_requested) + config.bHiresTextures != backup_config.s_hires_textures) { g_texture_cache->Invalidate(); TexDecoder_SetTexFmtOverlayOptions(g_ActiveConfig.bTexFmtOverlayEnable, g_ActiveConfig.bTexFmtOverlayCenter); - - invalidate_texture_cache_requested = false; } if ((config.iStereoMode > 0) != backup_config.s_stereo_3d || |
