also don't cleanup efb copys on efb2ram

these may be upscaled and this high res textures would be lost
This commit is contained in:
degasus 2013-03-01 11:31:52 +01:00
parent a2d08d6740
commit ef7083d78c

View File

@ -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++);