summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-25 21:24:46 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-25 21:24:46 +0300
commit840e969cadf36e17372da397eb758405150de6f8 (patch)
tree55112e0f4a8aa6642670605e4dfd32780402521f /src/graphicsmanager.cpp
parentccbe98de667cd332f48d43f05f598cf4551d882d (diff)
downloadplus-840e969cadf36e17372da397eb758405150de6f8.tar.gz
plus-840e969cadf36e17372da397eb758405150de6f8.tar.bz2
plus-840e969cadf36e17372da397eb758405150de6f8.tar.xz
plus-840e969cadf36e17372da397eb758405150de6f8.zip
Fix texture size detection and saving.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index 6af2e454c..f624ed850 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -990,6 +990,8 @@ void GraphicsManager::detectVideoSettings()
if (val != -1)
config.setValue("compresstextures", val);
}
+ config.setValue("textureSize", conf.getValueInt("textureSize", 1024));
+ config.setValue("testInfo", conf.getValue("testInfo", ""));
delete test;
}
}