Browse Source

texture_cache: Correct variable naming.

nce_cpp
Fernando Sahmkow 7 years ago
parent
commit
d368dbfb1a
  1. 6
      src/video_core/texture_cache/texture_cache.h

6
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;

Loading…
Cancel
Save