summaryrefslogtreecommitdiff
path: root/src/gui/setup_perfomance.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-26 22:24:38 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-27 03:49:15 +0300
commit70f471c5322231d7651c0275df46b3a9547f9ac0 (patch)
tree9bc0e4948f8fcfab71c2b4f900dd4c0f16611a96 /src/gui/setup_perfomance.cpp
parent129b19f69fbbdcd896150aa8faa7f20254169c0c (diff)
downloadplus-70f471c5322231d7651c0275df46b3a9547f9ac0.tar.gz
plus-70f471c5322231d7651c0275df46b3a9547f9ac0.tar.bz2
plus-70f471c5322231d7651c0275df46b3a9547f9ac0.tar.xz
plus-70f471c5322231d7651c0275df46b3a9547f9ac0.zip
Add option for enable textures compression (disabled by default)
Diffstat (limited to 'src/gui/setup_perfomance.cpp')
-rw-r--r--src/gui/setup_perfomance.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/setup_perfomance.cpp b/src/gui/setup_perfomance.cpp
index 976f1123b..865839c52 100644
--- a/src/gui/setup_perfomance.cpp
+++ b/src/gui/setup_perfomance.cpp
@@ -79,6 +79,7 @@ Setup_Perfomance::Setup_Perfomance()
new SetupItemCheckBox(_("Enable reorder sprites."), "",
"enableReorderSprites", this, "enableReorderSpritesEvent");
+
new SetupItemLabel(_("Small memory (enable for lower memory usage)"),
"", this);
@@ -88,6 +89,14 @@ Setup_Perfomance::Setup_Perfomance()
new SetupItemCheckBox(_("Disable beings caching (Software)"), "",
"disableBeingCaching", this, "disableBeingCachingEvent");
+
+ new SetupItemLabel(_("Different options (enable or disable can improve perfomance)"),
+ "", this);
+
+ new SetupItemCheckBox(_("Enable texture compression (fast OpenGL)"), "",
+ "compresstextures", this, "compresstexturesEvent");
+
+
setDimension(gcn::Rectangle(0, 0, 550, 350));
}