mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 08:39:00 +00:00
TexCache: clean up frameCount handling
This commit is contained in:
parent
6ba613fbd3
commit
1c98a43203
4 changed files with 16 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue