mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
TextureCache: Remove unsafe texture cache
This commit is contained in:
parent
8c2d87f668
commit
5239ba88c9
9 changed files with 26 additions and 92 deletions
|
@ -1106,12 +1106,11 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons
|
|||
DLCache::ProgressiveCleanup();
|
||||
TextureCache::Cleanup();
|
||||
|
||||
// reload textures if these settings changed
|
||||
if (g_Config.bSafeTextureCache != g_ActiveConfig.bSafeTextureCache ||
|
||||
g_Config.bUseNativeMips != g_ActiveConfig.bUseNativeMips)
|
||||
// Reload textures if this settings changes
|
||||
if (g_Config.bUseNativeMips != g_ActiveConfig.bUseNativeMips)
|
||||
TextureCache::Invalidate(false);
|
||||
|
||||
// Enable any configuration changes
|
||||
// Enable configuration changes
|
||||
UpdateActiveConfig();
|
||||
|
||||
SetWindowSize(fbWidth, fbHeight);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue