From 2704b09dfd36e485986ecc01cda3cda0f9f497d3 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Thu, 30 Aug 2018 21:17:30 -0700 Subject: [PATCH] UI: Load post shader names on non-Windows early. This way the ini "name" is used, rather than the stored code for it. Fixes #11015. --- UI/GameSettingsScreen.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UI/GameSettingsScreen.cpp b/UI/GameSettingsScreen.cpp index 5e289b615198..f93783317cca 100644 --- a/UI/GameSettingsScreen.cpp +++ b/UI/GameSettingsScreen.cpp @@ -121,6 +121,8 @@ static std::string PostShaderTranslateName(const char *value) { } void GameSettingsScreen::CreateViews() { + ReloadAllPostShaderInfo(); + if (editThenRestore_) { g_Config.loadGameConfig(gameID_); }