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
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue