summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-16 21:54:07 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-16 21:54:07 +0300
commitb0a4559af43b45905d3689e94db87aaf3fa18fcd (patch)
tree1ce14e2f0a9fa18cdf3bf315a7dda9a111d57434
parent5f30b7f0519def9ef1ccb5bdd237f1fc5d47268d (diff)
downloadmv-b0a4559af43b45905d3689e94db87aaf3fa18fcd.tar.gz
mv-b0a4559af43b45905d3689e94db87aaf3fa18fcd.tar.bz2
mv-b0a4559af43b45905d3689e94db87aaf3fa18fcd.tar.xz
mv-b0a4559af43b45905d3689e94db87aaf3fa18fcd.zip
Run video mode detection.
This need for detect max texture size in each renderer.
-rw-r--r--src/configmanager.cpp4
-rw-r--r--src/defaults.cpp2
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);