summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-26 01:27:16 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-26 01:27:16 +0300
commitb661524e8b7b41cec237492ecd52fdda7b9be394 (patch)
tree94bb6290dcb5cdc0f63747f4b97f1b5714175971 /src/gui
parent6f8da91cf4af4057ae4d2b9a2e2cd654e54d2d2c (diff)
downloadplus-b661524e8b7b41cec237492ecd52fdda7b9be394.tar.gz
plus-b661524e8b7b41cec237492ecd52fdda7b9be394.tar.bz2
plus-b661524e8b7b41cec237492ecd52fdda7b9be394.tar.xz
plus-b661524e8b7b41cec237492ecd52fdda7b9be394.zip
Disable being caching in soft mode in SDL2.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/setup_perfomance.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/setup_perfomance.cpp b/src/gui/setup_perfomance.cpp
index 17dec597e..c58240af9 100644
--- a/src/gui/setup_perfomance.cpp
+++ b/src/gui/setup_perfomance.cpp
@@ -122,6 +122,7 @@ Setup_Perfomance::Setup_Perfomance(const Widget2 *const widget) :
new SetupItemLabel(_("Small memory (enable for lower memory usage)"),
"", this);
+#ifndef USE_SDL2
// TRANSLATORS: settings option
new SetupItemCheckBox(_("Disable advanced beings caching (Software)"), "",
"disableAdvBeingCaching", this, "disableAdvBeingCachingEvent");
@@ -129,7 +130,7 @@ Setup_Perfomance::Setup_Perfomance(const Widget2 *const widget) :
// TRANSLATORS: settings option
new SetupItemCheckBox(_("Disable beings caching (Software)"), "",
"disableBeingCaching", this, "disableBeingCachingEvent");
-
+#endif
// TRANSLATORS: settings group
new SetupItemLabel(_("Different options (enable or disable can "