summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorNeoBrainX <NeoBrainX@gmail.com>2012-05-28 11:39:55 +0200
committerNeoBrainX <NeoBrainX@gmail.com>2012-06-20 18:18:18 +0200
commit8a5abbddc41120ec21a5bb2632279895b884c1ff (patch)
treefee6789766aa6e93dbc20b93c246993dc16d15b0 /Source/Core/VideoCommon/Src/TextureCacheBase.cpp
parent8bed27a3d1e3044d8e3ce02c17b6bd07b8130e80 (diff)
Enable texture format overlay on the fly.
Diffstat (limited to 'Source/Core/VideoCommon/Src/TextureCacheBase.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/TextureCacheBase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/TextureCacheBase.cpp b/Source/Core/VideoCommon/Src/TextureCacheBase.cpp
index 69e4bffff8..268eab38d1 100644
--- a/Source/Core/VideoCommon/Src/TextureCacheBase.cpp
+++ b/Source/Core/VideoCommon/Src/TextureCacheBase.cpp
@@ -98,6 +98,7 @@ void TextureCache::OnConfigChanged(VideoConfig& config)
HiresTextures::Init(SConfig::GetInstance().m_LocalCoreStartupParameter.m_strUniqueID.c_str());
SetHash64Function(g_ActiveConfig.bHiresTextures || g_ActiveConfig.bDumpTextures);
+ TexDecoder_SetTexFmtOverlayOptions(g_ActiveConfig.bTexFmtOverlayEnable, g_ActiveConfig.bTexFmtOverlayCenter);
}
// TODO: Probably shouldn't clear all render targets here, just mark them dirty or something.