summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-29 01:08:45 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-29 01:08:45 +0300
commit6427fbb2b35b113965c4d3c9470cced433a70c6d (patch)
treef7d9da05abbecd55722f61883b06acd069ab277d
parent67f2e99a6ceafdd1152ff4f5e54e7f8863331d41 (diff)
downloadplus-6427fbb2b35b113965c4d3c9470cced433a70c6d.tar.gz
plus-6427fbb2b35b113965c4d3c9470cced433a70c6d.tar.bz2
plus-6427fbb2b35b113965c4d3c9470cced433a70c6d.tar.xz
plus-6427fbb2b35b113965c4d3c9470cced433a70c6d.zip
apply configuration update before graphics initialization.
-rw-r--r--src/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index c0cf22b56..afc2dd7e6 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -546,6 +546,7 @@ void Client::initGraphics()
#endif
#endif
+ checkConfigVersion();
#if defined(WIN32) || defined(__APPLE__)
if (config.getBoolValue("centerwindow"))
setEnv("SDL_VIDEO_CENTERED", "1");
@@ -577,7 +578,6 @@ void Client::initGraphics()
runCounters = config.getBoolValue("packetcounters");
applyVSync();
graphicsManager.setVideoMode();
- checkConfigVersion();
getConfigDefaults2(config.getDefaultValues());
applyGrabMode();
applyGamma();