Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix clearing of render targets. We were skipping every other one.
  • Loading branch information
Sonicadvance1 committed Jan 8, 2013
1 parent 1d44d3b commit 446d927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/Src/TextureCacheBase.cpp
Expand Up @@ -208,7 +208,7 @@ void TextureCache::ClearRenderTargets()
if (iter->second->type == TCET_EC_VRAM)
{
delete iter->second;
textures.erase(iter++);
textures.erase(iter);
}
}

Expand Down

0 comments on commit 446d927

Please sign in to comment.