diff options
Diffstat (limited to 'src/progs/manaplus/client.cpp')
-rw-r--r-- | src/progs/manaplus/client.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp index a9735f43e..33d099678 100644 --- a/src/progs/manaplus/client.cpp +++ b/src/progs/manaplus/client.cpp @@ -592,10 +592,16 @@ 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); |