gsdx: disable some gl extensions when VMware driver is detected

It is likely the Mesa driver, code seems to have the same issue (separate shader)
This commit is contained in:
Gregory Hainaut 2014-12-12 20:44:58 +01:00
parent 35f26f00bc
commit cebccea81c
1 changed files with 2 additions and 0 deletions

View File

@ -226,6 +226,8 @@ namespace GLLoader {
intel_buggy_driver = true; intel_buggy_driver = true;
if (strstr(vendor, "X.Org")) // Note: it might actually catch nouveau too, but bug are likely to be the same anyway if (strstr(vendor, "X.Org")) // Note: it might actually catch nouveau too, but bug are likely to be the same anyway
mesa_amd_buggy_driver = true; mesa_amd_buggy_driver = true;
if (strstr(vendor, "VMware")) // Assume worst case because I don't know the real status
mesa_amd_buggy_driver = intel_buggy_driver = true;
GLuint dot = 0; GLuint dot = 0;
while (s[dot] != '\0' && s[dot] != '.') dot++; while (s[dot] != '\0' && s[dot] != '.') dot++;