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

@ -340,7 +340,7 @@ static void setupGraphics(OSystem &system) {
if (ConfMan.hasKey("stretch_mode"))
system.setStretchMode(ConfMan.get("stretch_mode").c_str());
if (ConfMan.hasKey("shader"))
system.setShader(ConfMan.getInt("shader"));
system.setShader(ConfMan.get("shader").c_str());
system.endGFXTransaction();
// When starting up launcher for the first time, the user might have specified