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

+4 -1
View File
@@ -87,7 +87,10 @@ public:
virtual ~TextureCache(); // needs virtual for DX11 dtor
static void OnConfigChanged(VideoConfig& config);
static void Cleanup();
// Removes textures which aren't used for more than TEXTURE_KILL_THRESHOLD frames,
// frameCount is the current frame number.
static void Cleanup(int frameCount);
static void Invalidate();
static void InvalidateRange(u32 start_address, u32 size);