summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2023-01-31 01:03:46 +1300
committerScott Mansell <phiren@gmail.com>2023-01-31 19:41:24 +1300
commitec8f46b02c21fec9b24518e6788a4df413baf8f9 (patch)
treee66de87d1b440a097672cffa1e6db39507331496 /Source/Core/VideoCommon/TextureCacheBase.cpp
parent3be63221c7a1003ce6177e823da5ec399cd51015 (diff)
Expose Renderer's Framecount
We don't want to move it, because we want to complete this refactor without changing savestate version
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp
index 6029f09c5c..947b2e5965 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.cpp
+++ b/Source/Core/VideoCommon/TextureCacheBase.cpp
@@ -783,7 +783,7 @@ void TextureCacheBase::OnFrameEnd()
g_texture_cache->FlushEFBCopies();
}
- g_texture_cache->Cleanup(g_renderer->m_frame_count);
+ g_texture_cache->Cleanup(g_renderer->FrameCount());
}
void TCacheEntry::DoState(PointerWrap& p)