diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-08-04 22:31:25 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-08-04 22:31:27 -0400 |
| commit | 7d017be66691bf4ac633d6c75f224a0814e1d049 (patch) | |
| tree | 13609b7e6e1e86a2d29b806769dfececb8e58605 /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | 7f6abfb0bf55612e1c2bde0ef633bd669e08e3ba (diff) | |
VideoCommon/TextureCacheBase: Make OnConfigChanged's parameter a const reference
This reference isn't actually modified within this function
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index 2f330bb2bc..3e42f042ba 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -137,7 +137,7 @@ void TextureCacheBase::Invalidate() texture_pool.clear(); } -void TextureCacheBase::OnConfigChanged(VideoConfig& config) +void TextureCacheBase::OnConfigChanged(const VideoConfig& config) { if (config.bHiresTextures != backup_config.hires_textures || config.bCacheHiresTextures != backup_config.cache_hires_textures) |
