early-access version 1984

This commit is contained in:
pineappleEA
2021-08-10 03:07:42 +02:00
parent c8db4e5c9e
commit bdd9b5d7c2
11 changed files with 57 additions and 33 deletions

View File

@@ -485,7 +485,7 @@ void BufferCache<P>::TickFrame() {
const bool skip_preferred = hits * 256 < shots * 251;
uniform_buffer_skip_cache_size = skip_preferred ? DEFAULT_SKIP_CACHE_SIZE : 0;
if (total_used_memory >= EXPECTED_MEMORY) {
if (Settings::values.use_caches_gc.GetValue() && total_used_memory >= EXPECTED_MEMORY) {
RunGarbageCollector();
}
++frame_tick;