Bug 790946 - Remove support for the MOZ_ prefixed EXT_texture_filter_anisotropic ext name - r=jgilbert

This commit is contained in:
Benoit Jacob 2012-09-21 16:02:37 -04:00
Родитель 4e4f02f78c
Коммит 42f016b264
1 изменённых файлов: 0 добавлений и 8 удалений

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

@ -1012,14 +1012,6 @@ WebGLContext::GetExtension(const nsAString& aName)
if (IsExtensionSupported(EXT_texture_filter_anisotropic))
ext = EXT_texture_filter_anisotropic;
}
else if (aName.Equals(NS_LITERAL_STRING("MOZ_EXT_texture_filter_anisotropic"),
nsCaseInsensitiveStringComparator()))
{
GenerateWarning("MOZ_EXT_texture_filter_anisotropic has been renamed to EXT_texture_filter_anisotropic. "
"Support for the MOZ_-prefixed string will be removed very soon.");
if (IsExtensionSupported(EXT_texture_filter_anisotropic))
ext = EXT_texture_filter_anisotropic;
}
else if (aName.Equals(NS_LITERAL_STRING("MOZ_WEBGL_lose_context"),
nsCaseInsensitiveStringComparator()))
{