summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-10 21:10:07 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-10 21:10:07 +0300
commitbfd0d4d13b9b13b48e99122b271b792d18c2cd8a (patch)
tree527d2d9dafa8d284744f9f3383bec4916583c339 /src/graphicsmanager.cpp
parent7e53a47d6f3e2dfb1446384e674f9d391bd23f7a (diff)
downloadmanaverse-bfd0d4d13b9b13b48e99122b271b792d18c2cd8a.tar.gz
manaverse-bfd0d4d13b9b13b48e99122b271b792d18c2cd8a.tar.bz2
manaverse-bfd0d4d13b9b13b48e99122b271b792d18c2cd8a.tar.xz
manaverse-bfd0d4d13b9b13b48e99122b271b792d18c2cd8a.zip
Fix some issues without C++11 flags.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index 3508f335b..b3b956cfe 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -527,9 +527,9 @@ void GraphicsManager::initGraphics()
#endif // ANDROID
SurfaceImageHelper::SDLSetEnableAlphaCache(
config.getBoolValue("alphaCache") &&
- openGLMode == RenderType::RENDER_SOFTWARE);
+ openGLMode == RENDER_SOFTWARE);
ImageHelper::setEnableAlpha((config.getFloatValue("guialpha") != 1.0F ||
- openGLMode != RenderType::RENDER_SOFTWARE) &&
+ openGLMode != RENDER_SOFTWARE) &&
config.getBoolValue("enableGuiOpacity"));
#else // USE_OPENGL
SurfaceImageHelper::SDLSetEnableAlphaCache(