IconCache: Remove texture objects quite quickly after it stops getting used.

They can be recreated pretty quickly as needed.
This commit is contained in:
Henrik Rydgård committed 2023-06-18 15:24:56 +02:00
1 parent 6f9941dafa
commit 300a64a86d
3 files changed
+30 -6

No files matched your search

+2
View File
@@ -52,6 +52,8 @@ void ScreenManager::update() {
if (stack_.size()) {
stack_.back().screen->update();
}
g_iconCache.FrameUpdate();
}
void ScreenManager::switchToNext() {