diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-25 21:24:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-25 21:24:46 +0300 |
commit | 840e969cadf36e17372da397eb758405150de6f8 (patch) | |
tree | 55112e0f4a8aa6642670605e4dfd32780402521f /src/graphicsmanager.cpp | |
parent | ccbe98de667cd332f48d43f05f598cf4551d882d (diff) | |
download | manaverse-840e969cadf36e17372da397eb758405150de6f8.tar.gz manaverse-840e969cadf36e17372da397eb758405150de6f8.tar.bz2 manaverse-840e969cadf36e17372da397eb758405150de6f8.tar.xz manaverse-840e969cadf36e17372da397eb758405150de6f8.zip |
Fix texture size detection and saving.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r-- | src/graphicsmanager.cpp | 2 |
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; } } |