summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setup_video.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-16 21:10:58 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-16 21:27:20 +0300
commit71a8401df046ac856d3bb02d6f44733890883f44 (patch)
treee37e6c9b47ff4a9c45a41860286a78bd12f61616 /src/gui/widgets/tabs/setup_video.cpp
parenta82331f46657298d335c36f9276ab3007b327d4b (diff)
downloadmanaplus-71a8401df046ac856d3bb02d6f44733890883f44.tar.gz
manaplus-71a8401df046ac856d3bb02d6f44733890883f44.tar.bz2
manaplus-71a8401df046ac856d3bb02d6f44733890883f44.tar.xz
manaplus-71a8401df046ac856d3bb02d6f44733890883f44.zip
Add max texture size detection for all modes.
Diffstat (limited to 'src/gui/widgets/tabs/setup_video.cpp')
-rw-r--r--src/gui/widgets/tabs/setup_video.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/setup_video.cpp b/src/gui/widgets/tabs/setup_video.cpp
index 6bc8d07e9..9e79aba3f 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.getValueInt("textureSize", 1024));
+ conf.getValue("textureSize", "1024,1024,1024"));
config.setValue("testInfo", conf.getValue("testInfo", ""));
delete test;
}