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.h | |
| 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.h')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.h | 2 |
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. |
