From 70f471c5322231d7651c0275df46b3a9547f9ac0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 26 Apr 2012 22:24:38 +0300 Subject: Add option for enable textures compression (disabled by default) --- src/gui/setup_perfomance.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/gui') 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)); } -- cgit v1.2.3-70-g09d2