diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-08-08 12:32:09 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-08-28 17:55:37 +0200 |
commit | ba82bb359bac918bf0d048fcd21d13c426bcd336 (patch) | |
tree | 268d388c954b97e1b8234df62540d133d85cfc8d /src/video_core/texture_cache/texture_cache.h | |
parent | VideoCore: Rework Garbage Collection. (diff) | |
download | yuzu-ba82bb359bac918bf0d048fcd21d13c426bcd336.tar yuzu-ba82bb359bac918bf0d048fcd21d13c426bcd336.tar.gz yuzu-ba82bb359bac918bf0d048fcd21d13c426bcd336.tar.bz2 yuzu-ba82bb359bac918bf0d048fcd21d13c426bcd336.tar.lz yuzu-ba82bb359bac918bf0d048fcd21d13c426bcd336.tar.xz yuzu-ba82bb359bac918bf0d048fcd21d13c426bcd336.tar.zst yuzu-ba82bb359bac918bf0d048fcd21d13c426bcd336.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/texture_cache/texture_cache.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index c16cc0838..caf1949f2 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h @@ -5,7 +5,6 @@ #pragma once #include "common/alignment.h" -#include "common/settings.h" #include "video_core/dirty_flags.h" #include "video_core/texture_cache/samples_helper.h" #include "video_core/texture_cache/texture_cache_base.h" @@ -93,7 +92,7 @@ void TextureCache<P>::RunGarbageCollector() { template <class P> void TextureCache<P>::TickFrame() { - if (Settings::values.use_caches_gc.GetValue() && total_used_memory > minimum_memory) { + if (total_used_memory > minimum_memory) { RunGarbageCollector(); } sentenced_images.Tick(); |