summaryrefslogtreecommitdiff
path: root/src/progs/dyecmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/dyecmd')
-rw-r--r--src/progs/dyecmd/client.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/progs/dyecmd/client.cpp b/src/progs/dyecmd/client.cpp
index 41bb7f3cb..eb40fd9c5 100644
--- a/src/progs/dyecmd/client.cpp
+++ b/src/progs/dyecmd/client.cpp
@@ -393,11 +393,18 @@ void Client::initSoundManager()
void Client::initGraphics()
{
+#ifndef USE_SDL2
WindowManager::applyVSync();
+#endif // USE_SDL2
+
runCounters = config.getBoolValue("packetcounters");
graphicsManager.initGraphics();
+#ifdef USE_SDL2
+ WindowManager::applyVSync();
+#endif // USE_SDL2
+
imageHelper->postInit();
setConfigDefaults2(config);
WindowManager::applyGrabMode();