summaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r--src/video_core/texture_cache/texture_cache.h6
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;