summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-21 00:30:26 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-21 00:30:26 +0300
commitaac315f8a199fccb5843bee95c59157626e6cece (patch)
treef364bf7bcd8c23d742565838c970ee7931aec668 /src
parent765661ba27fe287919ffce498187e539e8e39f10 (diff)
downloadmanaplus-aac315f8a199fccb5843bee95c59157626e6cece.tar.gz
manaplus-aac315f8a199fccb5843bee95c59157626e6cece.tar.bz2
manaplus-aac315f8a199fccb5843bee95c59157626e6cece.tar.xz
manaplus-aac315f8a199fccb5843bee95c59157626e6cece.zip
Fix AMD driver detection in black list.
Diffstat (limited to 'src')
-rw-r--r--src/graphicsmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index 611b0eb5b..972653d23 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -911,7 +911,7 @@ void GraphicsManager::initOpenGLFunctions()
if (findI(mGlVendor, "NVIDIA") != std::string::npos ||
mGlVersionString.find("Mesa 10.6.") != std::string::npos ||
- (findI(mGlVendor, "AMD Radeon HD") != std::string::npos &&
+ (findI(mGlRenderer, "AMD Radeon HD") != std::string::npos &&
mGlVersionString.find("Compatibility Profile Context 14.10") !=
std::string::npos))
{