diff options
| author | 2019-06-25 19:35:08 -0400 | |
|---|---|---|
| committer | 2019-06-25 19:35:08 -0400 | |
| commit | 223ca8075399463e51d4afea1adb0c5b6fba8588 (patch) | |
| tree | 3fc2ba06ee700e9cc7f1c7f42f8e476bcd2cecc8 /src/video_core/texture_cache | |
| parent | gl_texture_cache: Correct asserts (diff) | |
| download | yuzu-223ca8075399463e51d4afea1adb0c5b6fba8588.tar.gz yuzu-223ca8075399463e51d4afea1adb0c5b6fba8588.tar.xz yuzu-223ca8075399463e51d4afea1adb0c5b6fba8588.zip | |
texture_cache: Correct variable naming.
Diffstat (limited to 'src/video_core/texture_cache')
| -rw-r--r-- | src/video_core/texture_cache/texture_cache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index fb6ca41ff..b5b0e91ef 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h | |||
| @@ -225,9 +225,9 @@ public: | |||
| 225 | } | 225 | } |
| 226 | const CacheAddr page = cache_addr >> registry_page_bits; | 226 | const CacheAddr page = cache_addr >> registry_page_bits; |
| 227 | std::vector<TSurface>& list = registry[page]; | 227 | std::vector<TSurface>& list = registry[page]; |
| 228 | for (auto& s : list) { | 228 | for (auto& surface : list) { |
| 229 | if (s->GetCacheAddr() == cache_addr) { | 229 | if (surface->GetCacheAddr() == cache_addr) { |
| 230 | return s; | 230 | return surface; |
| 231 | } | 231 | } |
| 232 | } | 232 | } |
| 233 | return nullptr; | 233 | return nullptr; |