Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
also don't cleanup efb copys on efb2ram
these may be upscaled and this high res textures would be lost
  • Loading branch information
degasus committed Mar 1, 2013
1 parent a2d08d6 commit ef7083d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/Core/VideoCommon/Src/TextureCacheBase.cpp
Expand Up @@ -132,8 +132,7 @@ void TextureCache::Cleanup()
if ( frameCount > TEXTURE_KILL_THRESHOLD + iter->second->frameCount

// 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
&& ! (g_ActiveConfig.bCopyEFBToTexture && iter->second->IsEfbCopy()) )
&& ! iter->second->IsEfbCopy() )
{
delete iter->second;
textures.erase(iter++);
Expand Down

0 comments on commit ef7083d

Please sign in to comment.