diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-29 01:08:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-29 01:08:45 +0300 |
commit | 6427fbb2b35b113965c4d3c9470cced433a70c6d (patch) | |
tree | f7d9da05abbecd55722f61883b06acd069ab277d /src | |
parent | 67f2e99a6ceafdd1152ff4f5e54e7f8863331d41 (diff) | |
download | manaverse-6427fbb2b35b113965c4d3c9470cced433a70c6d.tar.gz manaverse-6427fbb2b35b113965c4d3c9470cced433a70c6d.tar.bz2 manaverse-6427fbb2b35b113965c4d3c9470cced433a70c6d.tar.xz manaverse-6427fbb2b35b113965c4d3c9470cced433a70c6d.zip |
apply configuration update before graphics initialization.
Diffstat (limited to 'src')
-rw-r--r-- | src/client.cpp | 2 |
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(); |