summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2023-02-03 13:18:37 +1300
committerScott Mansell <phiren@gmail.com>2023-02-09 18:36:20 +1300
commit60f2b5af7b5b5748f672e968d99338d503b5272e (patch)
tree515c5f3bcdbb24e7ab40d5be311db890bc86fbae /Source/Core/VideoCommon/TextureCacheBase.cpp
parente0a1631659425948a1e25c159307d81bda961018 (diff)
Apply suggestions from code review
Co-authored-by: Mai <mathew1800@gmail.com> Co-authored-by: BhaaL <bhaalsen@gmail.com> Co-authored-by: iwubcode <iwubcode@users.noreply.github.com>
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp
index ce14075552..8b5e56af37 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.cpp
+++ b/Source/Core/VideoCommon/TextureCacheBase.cpp
@@ -780,10 +780,10 @@ void TextureCacheBase::OnFrameEnd()
// Flush any outstanding EFB copies to RAM, in case the game is running at an uncapped frame
// rate and not waiting for vblank. Otherwise, we'd end up with a huge list of pending
// copies.
- g_texture_cache->FlushEFBCopies();
+ FlushEFBCopies();
}
- g_texture_cache->Cleanup(g_presenter->FrameCount());
+ Cleanup(g_presenter->FrameCount());
}
void TCacheEntry::DoState(PointerWrap& p)