diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-19 18:03:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-19 18:03:03 +0300 |
commit | 79d20c8ca1709a73701a1ffd30c7218fb2579a50 (patch) | |
tree | 5ac657ff65491aaf4b08e5fd0b7d17e9000e2ea4 | |
parent | cd65337feca3200372753bd50d25ed8a0d2a3cd2 (diff) | |
download | mv-79d20c8ca1709a73701a1ffd30c7218fb2579a50.tar.gz mv-79d20c8ca1709a73701a1ffd30c7218fb2579a50.tar.bz2 mv-79d20c8ca1709a73701a1ffd30c7218fb2579a50.tar.xz mv-79d20c8ca1709a73701a1ffd30c7218fb2579a50.zip |
Fix default textureSize config option.
-rw-r--r-- | src/defaults.cpp | 2 | ||||
-rw-r--r-- | src/graphicsmanager.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabs/setup_video.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp index 8e2d11eb8..290ee99ba 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -367,7 +367,7 @@ DefaultsData* getConfigDefaults() AddDEF("addwatermark", true); AddDEF("hidesupport", false); AddDEF("showserverpos", false); - AddDEF("textureSize", "1024,1024,1024"); + AddDEF("textureSize", "1024,1024,1024,1024,1024,1024"); return configData; } diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 4f2b147d8..54f27417a 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -1284,7 +1284,7 @@ void GraphicsManager::detectVideoSettings() config.setValue("compresstextures", val); } config.setValue("textureSize", conf.getValue("textureSize", - "1024,1024,1024")); + "1024,1024,1024,1024,1024,1024")); config.setValue("testInfo", conf.getValue("testInfo", "")); delete test; } diff --git a/src/gui/widgets/tabs/setup_video.cpp b/src/gui/widgets/tabs/setup_video.cpp index 9e79aba3f..fc0619c4f 100644 --- a/src/gui/widgets/tabs/setup_video.cpp +++ b/src/gui/widgets/tabs/setup_video.cpp @@ -455,7 +455,7 @@ void Setup_Video::action(const ActionEvent &event) mOpenGLDropDown->setSelected(renderToIndex[val]); } config.setValue("textureSize", - conf.getValue("textureSize", "1024,1024,1024")); + conf.getValue("textureSize", "1024,1024,1024,1024,1024,1024")); config.setValue("testInfo", conf.getValue("testInfo", "")); delete test; } |