summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-25 21:20:43 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-30 02:57:14 +0300
commit859012375bf752fbee028c55049cf43c6210dcfd (patch)
tree3c29a9c4266cc04b5432a26c79499f9366ff48b1
parent135c19b4337e1ab45cff40a306eadc52a061ddef (diff)
downloadplus-859012375bf752fbee028c55049cf43c6210dcfd.tar.gz
plus-859012375bf752fbee028c55049cf43c6210dcfd.tar.bz2
plus-859012375bf752fbee028c55049cf43c6210dcfd.tar.xz
plus-859012375bf752fbee028c55049cf43c6210dcfd.zip
Add option to enable/disable texture atlases.
-rw-r--r--src/gui/setup_perfomance.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/setup_perfomance.cpp b/src/gui/setup_perfomance.cpp
index 3e673df36..44a729a31 100644
--- a/src/gui/setup_perfomance.cpp
+++ b/src/gui/setup_perfomance.cpp
@@ -108,6 +108,9 @@ Setup_Perfomance::Setup_Perfomance() :
new SetupItemCheckBox(_("Use new texture internal format (OpenGL)"),
"", "newtextures", this, "newtexturesEvent");
+ new SetupItemCheckBox(_("Enable texture atlases (OpenGL)"), "",
+ "useAtlases", this, "useAtlasesEvent");
+
setDimension(gcn::Rectangle(0, 0, 550, 350));
}