From 223ca8075399463e51d4afea1adb0c5b6fba8588 Mon Sep 17 00:00:00 2001
From: Fernando Sahmkow <fsahmkow27@gmail.com>
Date: Tue, 25 Jun 2019 19:35:08 -0400
Subject: [PATCH] texture_cache: Correct variable naming.

---
 src/video_core/texture_cache/texture_cache.h | 6 +++---
 1 file 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:
         }
         const CacheAddr page = cache_addr >> registry_page_bits;
         std::vector<TSurface>& list = registry[page];
-        for (auto& s : list) {
-            if (s->GetCacheAddr() == cache_addr) {
-                return s;
+        for (auto& surface : list) {
+            if (surface->GetCacheAddr() == cache_addr) {
+                return surface;
             }
         }
         return nullptr;