diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-21 23:00:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-21 23:00:31 +0300 |
commit | 4fb515c4d3ec3b2109c7e406ae3169c534854513 (patch) | |
tree | da7c94e59d8061f500e1d8ba22a495cc1091b853 /src/game.cpp | |
parent | 5a392e77e1d77becd1ada0bdf3984c7260b8e287 (diff) | |
download | plus-4fb515c4d3ec3b2109c7e406ae3169c534854513.tar.gz plus-4fb515c4d3ec3b2109c7e406ae3169c534854513.tar.bz2 plus-4fb515c4d3ec3b2109c7e406ae3169c534854513.tar.xz plus-4fb515c4d3ec3b2109c7e406ae3169c534854513.zip |
Add option for delayed OpenGL images load enable/disable.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 75317edac..253f9fb67 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -387,7 +387,8 @@ Game::Game(): top->add(viewport); viewport->requestMoveToBottom(); - AnimatedSprite::setEnableCache(mainGraphics->getOpenGL()); + AnimatedSprite::setEnableCache(mainGraphics->getOpenGL() + && config.getBoolValue("enableDelayedAnimations")); createGuiWindows(); |