mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
UI: Make GPU events more consistent.
This commit is contained in:
1 parent
7613fd97aa
commit
661b2a3aa8
6 files changed
+17
-22
No files matched your search
@@ -1051,9 +1051,8 @@ void GameSettingsScreen::onFinish(DialogResult result) {
|
||||
KeyMap::UpdateNativeMenuKeys();
|
||||
|
||||
// Wipe some caches after potentially changing settings.
|
||||
if (gpu)
|
||||
gpu->Resized();
|
||||
Reporting::UpdateConfig();
|
||||
NativeMessageReceived("gpu_resized", "");
|
||||
NativeMessageReceived("gpu_clearCache", "");
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -1169,10 +1168,7 @@ UI::EventReturn GameSettingsScreen::OnPostProcShader(UI::EventParams &e) {
|
||||
}
|
||||
|
||||
UI::EventReturn GameSettingsScreen::OnPostProcShaderChange(UI::EventParams &e) {
|
||||
if (gpu) {
|
||||
gpu->Resized();
|
||||
}
|
||||
Reporting::UpdateConfig();
|
||||
NativeMessageReceived("gpu_resized", "");
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user