summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.h
diff options
context:
space:
mode:
authorConnor McLaughlin <stenzek@gmail.com>2019-08-08 12:17:26 +1000
committerGitHub <noreply@github.com>2019-08-08 12:17:26 +1000
commit9477c8b0ed834efc3b7cf5b9fcd48caf57611a8a (patch)
tree37f8dbe9ac1a4e283f1114d35e03f0c77a403a82 /Source/Core/VideoCommon/TextureCacheBase.h
parent2d316196c9b584bf3a97d2b3c32596ae3ee50247 (diff)
parent86a651e27f22215752a444a83ae258ae3efd832a (diff)
Merge pull request #8293 from lioncash/ref
VideoCommon/TextureCacheBase: Make OnConfigChanged's parameter a const reference
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.h')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h
index 5e5a28b34b..e8ecf5b6fe 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.h
+++ b/Source/Core/VideoCommon/TextureCacheBase.h
@@ -204,7 +204,7 @@ public:
bool Initialize();
- void OnConfigChanged(VideoConfig& config);
+ void OnConfigChanged(const VideoConfig& config);
// Removes textures which aren't used for more than TEXTURE_KILL_THRESHOLD frames,
// frameCount is the current frame number.