diff options
-rw-r--r-- | src/client.cpp | 2 | ||||
-rw-r--r-- | src/gui/setupactiondata.h | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp index 2efbac659..bbb65a05c 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -385,8 +385,8 @@ void Client::gameInit() "Exiting.", mLocalDataDir.c_str())); } - Image::setBlur(config.getBoolValue("blur")); #if defined USE_OPENGL + Image::setBlur(config.getBoolValue("blur")); Image::SDLSetEnableAlphaCache(config.getBoolValue("alphaCache") && !config.getIntValue("opengl")); Image::setEnableAlpha(config.getFloatValue("guialpha") != 1.0f diff --git a/src/gui/setupactiondata.h b/src/gui/setupactiondata.h index c1cdbf379..af0b25cfb 100644 --- a/src/gui/setupactiondata.h +++ b/src/gui/setupactiondata.h @@ -24,7 +24,12 @@ #ifndef GUI_SETUPACTIONDATA_H #define GUI_SETUPACTIONDATA_H +#include "keydata.h" + #include "utils/gettext.h" +#include "utils/stringutils.h" + +#include <string> #include "debug.h" |