summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 8adf4f5f1..12d0b82a3 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -508,11 +508,11 @@ void Client::updateEnv()
void Client::initGraphics()
{
- graphicsManager.initGraphics(settings.options.noOpenGL);
-
- runCounters = config.getBoolValue("packetcounters");
WindowManager::applyVSync();
- graphicsManager.setVideoMode();
+ runCounters = config.getBoolValue("packetcounters");
+
+ graphicsManager.initGraphics();
+
imageHelper->postInit();
getConfigDefaults2(config.getDefaultValues());
WindowManager::applyGrabMode();