diff options
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index 61882476d7..70a753931a 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -2026,8 +2026,7 @@ void TextureCacheBase::StitchXFBCopy(RcTcacheEntry& stitched_entry) if (candidates.empty()) return; - std::sort(candidates.begin(), candidates.end(), - [](const TCacheEntry* a, const TCacheEntry* b) { return a->id < b->id; }); + std::ranges::sort(candidates, {}, &TCacheEntry::id); // We only upscale when necessary to preserve resolution. i.e. when there are upscaled partial // copies to be stitched together. |
