GUI: Store the shader name in the config file instead of the ID
This commit is contained in:
parent
7488e17c0a
commit
f2db412ba5
12 changed files with 97 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue