Disabled NPO2T on GeforceFX.

This commit is contained in:
Robert Osfield 2005-06-22 11:02:37 +00:00
parent 8bc1910767
commit 3baa8cdad2

View File

@ -1358,6 +1358,12 @@ void Texture::Extensions::setupGLExtensions(unsigned int contextID)
osg::notify(osg::INFO)<<"Disabling _isNonPowerOfTwoTextureMipMappedSupported for ATI hardware."<<std::endl;
}
if (rendererString.find("GeForce FX")!=std::string::npos)
{
_isNonPowerOfTwoTextureMipMappedSupported = false;
osg::notify(osg::INFO)<<"Disabling _isNonPowerOfTwoTextureMipMappedSupported for GeForce FX hardware."<<std::endl;
}
glGetIntegerv(GL_MAX_TEXTURE_SIZE,&_maxTextureSize);
char *ptr;