Instead of invalidating texcache whenever the graphics configuration dialog gets opened, clean up textures on configuration changes.

This commit is contained in:
NeoBrainX
2012-06-20 18:18:05 +02:00
parent 30de244050
commit 8d30ac462a
8 changed files with 61 additions and 24 deletions
@@ -1111,6 +1111,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons
// Enable configuration changes
UpdateActiveConfig();
TextureCache::OnConfigChanged(g_ActiveConfig);
SetWindowSize(fbWidth, fbHeight);