mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 03:49:41 +00:00
More removal.
This commit is contained in:
parent
127f9bb30d
commit
d5c8ff7d73
2 changed files with 3 additions and 4 deletions
|
@ -278,8 +278,7 @@ std::auto_ptr<sh::Factory> CS::Editor::setupGraphics()
|
|||
else antialiasing = "0";
|
||||
params.insert(std::make_pair("FSAA", antialiasing));
|
||||
|
||||
std::string vsync = mUserSettings.settingValue("Video/vsync").toStdString() == "true" ? "true" : "false";
|
||||
params.insert(std::make_pair("vsync", vsync));
|
||||
params.insert(std::make_pair("vsync", "false"));
|
||||
params.insert(std::make_pair("hidden", "true"));
|
||||
#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE
|
||||
params.insert(std::make_pair("macAPI", "cocoa"));
|
||||
|
|
|
@ -424,9 +424,9 @@ void UserSettings::loadSettings (const QString &fileName)
|
|||
mSettingDefinitions->setValue("shader mode", shader); //no group means "General" group
|
||||
}
|
||||
|
||||
// check if override entry exists (default: override)
|
||||
// check if override entry exists (default: disabled)
|
||||
if(!mSettingDefinitions->childGroups().contains("Video", Qt::CaseInsensitive))
|
||||
mSettingDefinitions->setValue("Video/use settings.cfg", "true");
|
||||
mSettingDefinitions->setValue("Video/use settings.cfg", "false");
|
||||
}
|
||||
|
||||
QStringList UserSettings::getOgreRenderers()
|
||||
|
|
Loading…
Reference in a new issue