GUI: Store the shader name in the config file instead of the ID

This commit is contained in:
Cameron Cawley 2020-01-31 23:11:09 +00:00 committed by rsn8887
parent 7488e17c0a
commit f2db412ba5
12 changed files with 97 additions and 19 deletions

View file

@ -217,7 +217,7 @@ void initCommonGFX() {
g_system->setStretchMode(ConfMan.get("stretch_mode").c_str());
if (gameDomain->contains("shader"))
g_system->setShader(ConfMan.getInt("shader"));
g_system->setShader(ConfMan.get("shader").c_str());
}
}