texture_cache: Correct variable naming.
This commit is contained in:
parent
5aeabd9a17
commit
223ca80753
@ -225,9 +225,9 @@ public:
|
|||||||
}
|
}
|
||||||
const CacheAddr page = cache_addr >> registry_page_bits;
|
const CacheAddr page = cache_addr >> registry_page_bits;
|
||||||
std::vector<TSurface>& list = registry[page];
|
std::vector<TSurface>& list = registry[page];
|
||||||
for (auto& s : list) {
|
for (auto& surface : list) {
|
||||||
if (s->GetCacheAddr() == cache_addr) {
|
if (surface->GetCacheAddr() == cache_addr) {
|
||||||
return s;
|
return surface;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user