diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-07-04 01:26:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-04 01:26:49 +0200 |
| commit | 713d55f28466a402459bb4ab21ca28955454790f (patch) | |
| tree | 83213d297ed905521657de361b73ad44ea4597b9 /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | 47c5a2f7edd397cb1f1d9d54691392f0294957cd (diff) | |
| parent | 80b05b6f0d3dab08e7df9b8c3fac4536c5933932 (diff) | |
Merge pull request #7208 from Techjar/mipmap-invalidate
Make arbitrary mipmap detection toggle invalidate the texture cache
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index 4a8807954e..8881ad2457 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -126,7 +126,8 @@ void TextureCacheBase::OnConfigChanged(VideoConfig& config) config.bTexFmtOverlayCenter != backup_config.texfmt_overlay_center || config.bHiresTextures != backup_config.hires_textures || config.bEnableGPUTextureDecoding != backup_config.gpu_texture_decoding || - config.bDisableCopyToVRAM != backup_config.disable_vram_copies) + config.bDisableCopyToVRAM != backup_config.disable_vram_copies || + config.bArbitraryMipmapDetection != backup_config.arbitrary_mipmap_detection) { Invalidate(); @@ -230,6 +231,7 @@ void TextureCacheBase::SetBackupConfig(const VideoConfig& config) backup_config.efb_mono_depth = config.bStereoEFBMonoDepth; backup_config.gpu_texture_decoding = config.bEnableGPUTextureDecoding; backup_config.disable_vram_copies = config.bDisableCopyToVRAM; + backup_config.arbitrary_mipmap_detection = config.bArbitraryMipmapDetection; } TextureCacheBase::TCacheEntry* |
