diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/game.cpp b/src/game.cpp index 56e86ba6d..69333841f 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -401,8 +401,9 @@ Game::Game() : top->add(viewport); viewport->requestMoveToBottom(); - AnimatedSprite::setEnableCache(mainGraphics->getOpenGL() - && config.getBoolValue("enableDelayedAnimations")); + AnimatedSprite::setEnableCache( + mainGraphics->getOpenGL() != RenderType::RENDER_SOFTWARE && + config.getBoolValue("enableDelayedAnimations")); CompoundSprite::setEnableDelay( config.getBoolValue("enableCompoundSpriteDelay")); @@ -656,7 +657,7 @@ void Game::slowLogic() effectManager->logic(); } - if (mainGraphics->getOpenGL()) + if (mainGraphics->getOpenGL() != RenderType::RENDER_SOFTWARE) DelayedManager::delayedLoad(); #ifdef TMWA_SUPPORT |