Minor cleanups

This commit is contained in:
Henrik Rydgård committed 2023-12-10 12:37:35 +01:00
1 parent 653b19ae53
commit 600fb7cc22
3 files changed
+7 -5

No files matched your search

-4
View File
@@ -6,7 +6,6 @@
#include "Common/UI/UI.h"
#include "Common/UI/View.h"
#include "Common/UI/ViewGroup.h"
#include "Common/UI/IconCache.h"
#include "Common/Log.h"
#include "Common/TimeUtil.h"
@@ -64,8 +63,6 @@ void ScreenManager::update() {
if (stack_.size()) {
stack_.back().screen->update();
}
g_iconCache.FrameUpdate();
}
void ScreenManager::switchToNext() {
@@ -139,7 +136,6 @@ void ScreenManager::axis(const AxisInput *axes, size_t count) {
void ScreenManager::deviceLost() {
for (auto &iter : stack_)
iter.screen->deviceLost();
g_iconCache.ClearTextures();
}
void ScreenManager::deviceRestored() {