COMMON: Use Common::String for OSystem::setShader
This commit is contained in:
parent
a2c65a4521
commit
79fff69231
7 changed files with 8 additions and 9 deletions
|
@ -740,7 +740,7 @@ void OptionsDialog::apply() {
|
|||
g_system->setGraphicsMode(ConfMan.get("gfx_mode", _domain).c_str());
|
||||
g_system->setStretchMode(ConfMan.get("stretch_mode", _domain).c_str());
|
||||
g_system->setScaler(ConfMan.get("scaler", _domain).c_str(), ConfMan.getInt("scale_factor", _domain));
|
||||
g_system->setShader(Common::FSNode(ConfMan.get("shader", _domain)));
|
||||
g_system->setShader(ConfMan.get("shader", _domain));
|
||||
|
||||
if (ConfMan.hasKey("aspect_ratio"))
|
||||
g_system->setFeatureState(OSystem::kFeatureAspectRatioCorrection, ConfMan.getBool("aspect_ratio", _domain));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue