diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-21 19:24:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-21 19:24:43 +0300 |
commit | b84d24167a06f5ab15394045600bb79834f3953a (patch) | |
tree | 1b77f3f3cbcf3b7dfcf8bf5e6929ddcb1efd168c /src/graphicsmanager.cpp | |
parent | bbbfdbd183fab8e32329c8f0f2eec6edf056d10f (diff) | |
download | manaplus-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/graphicsmanager.cpp')
-rw-r--r-- | src/graphicsmanager.cpp | 6 |
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); |