Bug 645407 - remove old blacklisting - r=karlt

This commit is contained in:
Benoit Jacob 2011-05-03 16:07:17 -04:00
Родитель 1de0681135
Коммит 53b145ad99
1 изменённых файлов: 0 добавлений и 11 удалений

Просмотреть файл

@ -216,17 +216,6 @@ GLXLibrary::EnsureInitialized()
serverVendor = xQueryServerString(display, screen, GLX_VENDOR); serverVendor = xQueryServerString(display, screen, GLX_VENDOR);
serverVersionStr = xQueryServerString(display, screen, GLX_VERSION); serverVersionStr = xQueryServerString(display, screen, GLX_VERSION);
PRBool IsDriverBlacklisted = !serverVendor || // it's been reported that a VNC X server was returning serverVendor=null
!serverVersionStr ||
strcmp(serverVendor, "NVIDIA Corporation");
if (IsDriverBlacklisted && !ignoreBlacklist)
{
printf("[GLX] your GL driver is currently blocked. If you would like to bypass this, "
"define the MOZ_GLX_IGNORE_BLACKLIST environment variable.\n");
return PR_FALSE;
}
if (!GLXVersionCheck(1, 1)) if (!GLXVersionCheck(1, 1))
// Not possible to query for extensions. // Not possible to query for extensions.
return PR_FALSE; return PR_FALSE;