TexCache: clean up frameCount handling

This commit is contained in:
degasus
2014-05-19 18:31:38 +02:00
parent 6ba613fbd3
commit 1c98a43203
4 changed files with 16 additions and 8 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);