summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2013-01-08 11:14:53 -0600
committerRyan Houdek <Sonicadvance1@gmail.com>2013-01-08 11:14:53 -0600
commit446d9279b10a3eb688d2b16036a9f3f832a1c6e4 (patch)
tree65d785dac95a6c5226f6d2957d8a7f8bbdad9f80 /Source/Core/VideoCommon/Src/TextureCacheBase.cpp
parent1d44d3baf5cc0702b9e042687d63c5a72fd0f6b0 (diff)
Fix clearing of render targets. We were skipping every other one.
Diffstat (limited to 'Source/Core/VideoCommon/Src/TextureCacheBase.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/TextureCacheBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/TextureCacheBase.cpp b/Source/Core/VideoCommon/Src/TextureCacheBase.cpp
index 9fc18ef1bd..e3152455df 100644
--- a/Source/Core/VideoCommon/Src/TextureCacheBase.cpp
+++ b/Source/Core/VideoCommon/Src/TextureCacheBase.cpp
@@ -208,7 +208,7 @@ void TextureCache::ClearRenderTargets()
if (iter->second->type == TCET_EC_VRAM)
{
delete iter->second;
- textures.erase(iter++);
+ textures.erase(iter);
}
}