소스 검색

texture_cache: Correct variable naming.

Fernando Sahmkow 7 년 전
부모
커밋
223ca80753
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/video_core/texture_cache/texture_cache.h

+ 3 - 3
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;