From 6427fbb2b35b113965c4d3c9470cced433a70c6d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 29 Jan 2014 01:08:45 +0300 Subject: apply configuration update before graphics initialization. --- src/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); -- cgit v1.2.3-70-g09d2