summaryrefslogtreecommitdiffstats
path: root/src/video_core/rasterizer_cache.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-10-16 23:02:29 +0200
committerbunnei <bunneidev@gmail.com>2018-10-16 23:02:29 +0200
commitee7c2dbf5a9086a006e713fcc9eff43f18cafcc9 (patch)
tree1b6c1ee253d8111c2d74641201cec514613a3435 /src/video_core/rasterizer_cache.h
parentrasterizer_cache: Refactor to support in-order flushing. (diff)
downloadyuzu-ee7c2dbf5a9086a006e713fcc9eff43f18cafcc9.tar
yuzu-ee7c2dbf5a9086a006e713fcc9eff43f18cafcc9.tar.gz
yuzu-ee7c2dbf5a9086a006e713fcc9eff43f18cafcc9.tar.bz2
yuzu-ee7c2dbf5a9086a006e713fcc9eff43f18cafcc9.tar.lz
yuzu-ee7c2dbf5a9086a006e713fcc9eff43f18cafcc9.tar.xz
yuzu-ee7c2dbf5a9086a006e713fcc9eff43f18cafcc9.tar.zst
yuzu-ee7c2dbf5a9086a006e713fcc9eff43f18cafcc9.zip
Diffstat (limited to 'src/video_core/rasterizer_cache.h')
-rw-r--r--src/video_core/rasterizer_cache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/rasterizer_cache.h b/src/video_core/rasterizer_cache.h
index 3ec01b967..0a3b3951e 100644
--- a/src/video_core/rasterizer_cache.h
+++ b/src/video_core/rasterizer_cache.h
@@ -119,8 +119,8 @@ protected:
auto& rasterizer = Core::System::GetInstance().Renderer().Rasterizer();
rasterizer.UpdatePagesCachedCount(object->GetAddr(), object->GetSizeInBytes(), -1);
- // Only flush if use_accurate_framebuffers is enabled, as it incurs a performance hit
- if (Settings::values.use_accurate_framebuffers) {
+ // Only flush if use_accurate_gpu_emulation is enabled, as it incurs a performance hit
+ if (Settings::values.use_accurate_gpu_emulation) {
FlushObject(object);
}