mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 09:59:32 -06:00
clang-modernize -loop-convert
and some manual adjustments
This commit is contained in:
@ -61,12 +61,10 @@ void TextureCache::RequestInvalidateTextureCache()
|
||||
|
||||
void TextureCache::Invalidate()
|
||||
{
|
||||
TexCache::iterator
|
||||
iter = textures.begin(),
|
||||
tcend = textures.end();
|
||||
for (; iter != tcend; ++iter)
|
||||
delete iter->second;
|
||||
|
||||
for (auto& tex : textures)
|
||||
{
|
||||
delete tex.second;
|
||||
}
|
||||
textures.clear();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user