summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setup_perfomance.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-18 02:12:42 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-18 12:21:50 +0300
commit97d7980671ab621bfee994c0acf410ee2012ddcd (patch)
treea76c630416d876eaf6f380d9fdca5c3b653bed17 /src/gui/widgets/tabs/setup_perfomance.cpp
parentd119e4425f418afe1198839a57e7b186d717d587 (diff)
downloadmanaplus-97d7980671ab621bfee994c0acf410ee2012ddcd.tar.gz
manaplus-97d7980671ab621bfee994c0acf410ee2012ddcd.tar.bz2
manaplus-97d7980671ab621bfee994c0acf410ee2012ddcd.tar.xz
manaplus-97d7980671ab621bfee994c0acf410ee2012ddcd.zip
Add bptc texture compression support.
Add workaround for MESA for using bptc.
Diffstat (limited to 'src/gui/widgets/tabs/setup_perfomance.cpp')
-rw-r--r--src/gui/widgets/tabs/setup_perfomance.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/setup_perfomance.cpp b/src/gui/widgets/tabs/setup_perfomance.cpp
index 16f3142a7..247419f7b 100644
--- a/src/gui/widgets/tabs/setup_perfomance.cpp
+++ b/src/gui/widgets/tabs/setup_perfomance.cpp
@@ -34,7 +34,7 @@
#include "debug.h"
-static const int texturesListSize = 4;
+static const int texturesListSize = 5;
static const char *const texturesList[] =
{
@@ -42,7 +42,8 @@ static const char *const texturesList[] =
N_("No"),
"s3tc",
"fxt1",
- "ARB"
+ "ARB",
+ "bptc"
};
Setup_Perfomance::Setup_Perfomance(const Widget2 *const widget) :