TexCache: clean up frameCount handling

This commit is contained in:
degasus committed 2015-01-11 22:23:35 +01:00
1 parent 6ba613fbd3
commit 1c98a43203
4 files changed
+16 -8

No files matched your search

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