summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-17 22:31:39 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-17 22:31:39 +0300
commita736a01786b9ad6df5dba9955fcac96300c537a2 (patch)
treed89fc92c489f0ab0c124196e5bc89b9c5e21d703 /src/gui
parent61c92f38a7b9a5b30149bf5ae0cc106abc0482dc (diff)
downloadmanaplus-a736a01786b9ad6df5dba9955fcac96300c537a2.tar.gz
manaplus-a736a01786b9ad6df5dba9955fcac96300c537a2.tar.bz2
manaplus-a736a01786b9ad6df5dba9955fcac96300c537a2.tar.xz
manaplus-a736a01786b9ad6df5dba9955fcac96300c537a2.zip
Add support for normal internal texture format (before was old format).
Add option to switch new/old texture format.
Diffstat (limited to 'src/gui')
-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 a40a400f3..8d6592315 100644
--- a/src/gui/setup_perfomance.cpp
+++ b/src/gui/setup_perfomance.cpp
@@ -99,6 +99,9 @@ Setup_Perfomance::Setup_Perfomance()
new SetupItemCheckBox(_("Enable rectangular texture extension (OpenGL)"),
"", "rectangulartextures", this, "rectangulartexturesEvent");
+ new SetupItemCheckBox(_("Use new texture internal format (OpenGL)"),
+ "", "newtextures", this, "newtexturesEvent");
+
setDimension(gcn::Rectangle(0, 0, 550, 350));
}