Check a couple more vendor strings to determine if an AMD driver is being used.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-07-29 02:06:32 -03:00
parent d338f274ff
commit 68f1ab5f47
+2 -1
View File
@@ -261,7 +261,8 @@ void OpenGL::initVendor()
// http://feedback.wildfiregames.com/report/opengl/feature/GL_VENDOR
// http://stackoverflow.com/questions/2093594/opengl-extensions-available-on-different-android-devices
if (strstr(vstr, "ATI Technologies"))
// http://opengl.gpuinfo.org/gl_stats_caps_single.php?listreportsbycap=GL_VENDOR
if (strstr(vstr, "ATI Technologies") || strstr(vstr, "AMD") || strstr(vstr, "Advanced Micro Devices"))
vendor = VENDOR_AMD;
else if (strstr(vstr, "NVIDIA"))
vendor = VENDOR_NVIDIA;