Merge pull request #1872 from degasus/texcache

Texcache cleanup 2
This commit is contained in:
Markus Wick
2015-01-13 22:45:49 +01:00
13 changed files with 133 additions and 114 deletions

View File

@ -1715,7 +1715,7 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, co
}
// Clean out old stuff from caches. It's not worth it to clean out the shader caches.
TextureCache::Cleanup();
TextureCache::Cleanup(frameCount);
// Render to the framebuffer.
FramebufferManager::SetFramebuffer(0);