diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-16 21:54:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-16 21:54:07 +0300 |
commit | b0a4559af43b45905d3689e94db87aaf3fa18fcd (patch) | |
tree | 1ce14e2f0a9fa18cdf3bf315a7dda9a111d57434 | |
parent | 5f30b7f0519def9ef1ccb5bdd237f1fc5d47268d (diff) | |
download | manaplus-b0a4559af43b45905d3689e94db87aaf3fa18fcd.tar.gz manaplus-b0a4559af43b45905d3689e94db87aaf3fa18fcd.tar.bz2 manaplus-b0a4559af43b45905d3689e94db87aaf3fa18fcd.tar.xz manaplus-b0a4559af43b45905d3689e94db87aaf3fa18fcd.zip |
Run video mode detection.
This need for detect max texture size in each renderer.
-rw-r--r-- | src/configmanager.cpp | 4 | ||||
-rw-r--r-- | src/defaults.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/configmanager.cpp b/src/configmanager.cpp index de72045ac..b16a366c7 100644 --- a/src/configmanager.cpp +++ b/src/configmanager.cpp @@ -314,8 +314,8 @@ void ConfigManager::checkConfigVersion() if (version < 7) config.setValue("download-music", true); - if (version < 8) + if (version < 9) config.deleteKey("videodetected"); - config.setValue("cfgver", 8); + config.setValue("cfgver", 9); } diff --git a/src/defaults.cpp b/src/defaults.cpp index 1c83782d5..35fa277eb 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -352,7 +352,7 @@ DefaultsData* getConfigDefaults() AddDEF("uselonglivesprites", false); AddDEF("uselonglivesounds", true); AddDEF("screenDensity", 0); - AddDEF("cfgver", 8); + AddDEF("cfgver", 9); AddDEF("enableDebugLog", false); AddDEF("doubleClick", true); AddDEF("useDiagonalSpeed", true); |