summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-19 18:03:03 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-19 18:03:03 +0300
commit79d20c8ca1709a73701a1ffd30c7218fb2579a50 (patch)
tree5ac657ff65491aaf4b08e5fd0b7d17e9000e2ea4 /src
parentcd65337feca3200372753bd50d25ed8a0d2a3cd2 (diff)
downloadplus-79d20c8ca1709a73701a1ffd30c7218fb2579a50.tar.gz
plus-79d20c8ca1709a73701a1ffd30c7218fb2579a50.tar.bz2
plus-79d20c8ca1709a73701a1ffd30c7218fb2579a50.tar.xz
plus-79d20c8ca1709a73701a1ffd30c7218fb2579a50.zip
Fix default textureSize config option.
Diffstat (limited to 'src')
-rw-r--r--src/defaults.cpp2
-rw-r--r--src/graphicsmanager.cpp2
-rw-r--r--src/gui/widgets/tabs/setup_video.cpp2
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;
}