summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-21 19:24:43 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-21 19:24:43 +0300
commitb84d24167a06f5ab15394045600bb79834f3953a (patch)
tree1b77f3f3cbcf3b7dfcf8bf5e6929ddcb1efd168c /src
parentbbbfdbd183fab8e32329c8f0f2eec6edf056d10f (diff)
downloadmanaplus-b84d24167a06f5ab15394045600bb79834f3953a.tar.gz
manaplus-b84d24167a06f5ab15394045600bb79834f3953a.tar.bz2
manaplus-b84d24167a06f5ab15394045600bb79834f3953a.tar.xz
manaplus-b84d24167a06f5ab15394045600bb79834f3953a.zip
Disable texture compression also for Mesa.
Look like latest Mesa versions have compression totally broken.
Diffstat (limited to 'src')
-rw-r--r--src/graphicsmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index 93c11346f..527fe9159 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -176,9 +176,9 @@ int GraphicsManager::detectGraphics()
if (mode > 0 && findI(mGlVersionString, "Mesa") != std::string::npos)
{
- // Mesa detected
- config.setValue("compresstextures", true);
- compressTextures = 1;
+ // Mesa detected. In latest Mesa look like compression broken.
+ config.setValue("compresstextures", false);
+ compressTextures = 0;
}
config.setValue("opengl", mode);