summaryrefslogtreecommitdiffstats
path: root/src/video_core/rasterizer_interface.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2023-01-05 12:43:54 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2023-01-05 20:00:10 +0100
commitb56ad93bbc9ac38820c1e1cb4b03256dd50aa17a (patch)
tree329e2e9e818cf88753b86d01b3351ba1f2d6eb2e /src/video_core/rasterizer_interface.h
parentFermi2D: sync cache flushes (diff)
downloadyuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.tar
yuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.tar.gz
yuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.tar.bz2
yuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.tar.lz
yuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.tar.xz
yuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.tar.zst
yuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.zip
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
-rw-r--r--src/video_core/rasterizer_interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h
index 6b66ad7b6..1735b6164 100644
--- a/src/video_core/rasterizer_interface.h
+++ b/src/video_core/rasterizer_interface.h
@@ -97,7 +97,7 @@ public:
VideoCommon::CacheType which = VideoCommon::CacheType::All) = 0;
virtual void InnerInvalidation(std::span<const std::pair<VAddr, std::size_t>> sequences) {
- for (const auto [cpu_addr, size] : sequences) {
+ for (const auto& [cpu_addr, size] : sequences) {
InvalidateRegion(cpu_addr, size);
}
}