From cc7454c7f32ee8a8ff5d67c7a530d843bb68448c Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 13 Feb 2021 13:57:23 +0200 Subject: [PATCH] Use min_retain_frames to decide when to clear the resource load queue --- source/resourcemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/resourcemanager.cpp b/source/resourcemanager.cpp index 0e2d939f..30f75013 100644 --- a/source/resourcemanager.cpp +++ b/source/resourcemanager.cpp @@ -217,7 +217,7 @@ void ResourceManager::dispatch_work() { queue.sort(age_order); - if(queue.front()->last_used+10last_used+min_retain_framesstate = ManagedResource::NOT_LOADED; -- 2.45.2