Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Build fixing.
  • Loading branch information
NeoBrainX authored and NeoBrainX committed Feb 25, 2013
1 parent 1141af6 commit 73a0bdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/Src/TextureCacheBase.cpp
Expand Up @@ -133,7 +133,7 @@ void TextureCache::Cleanup()
{
// EFB copies living on the host GPU are unrecoverable and thus shouldn't be deleted
// TODO: encoding the texture back to RAM here might be a good idea
if (g_ActiveConfig.bCopyEFBToTexture && entry->IsEfbCopy())
if (g_ActiveConfig.bCopyEFBToTexture && iter->second->IsEfbCopy())
continue;

delete iter->second;
Expand Down

0 comments on commit 73a0bdd

Please sign in to comment.