Added RADEON as render type for disabling mipmapped NPO2T

This commit is contained in:
Robert Osfield
2005-05-17 20:12:13 +00:00
parent 8e91de49a9
commit 4645217733

View File

@@ -1353,7 +1353,7 @@ void Texture::Extensions::setupGLExtensions(unsigned int contextID)
_isNonPowerOfTwoTextureMipMappedSupported = _isNonPowerOfTwoTextureNonMipMappedSupported;
if (rendererString.find("Radeon")!=std::string::npos)
if (rendererString.find("Radeon")!=std::string::npos || rendererString.find("RADEON")!=std::string::npos)
{
_isNonPowerOfTwoTextureMipMappedSupported = false;
osg::notify(osg::INFO)<<"Disabling _isNonPowerOfTwoTextureMipMappedSupported for ATI hardware."<<std::endl;