Changed the Radeon defaults to 1, 128 for the factor and unit mulitpliers respectively.

This commit is contained in:
Robert Osfield
2006-07-17 10:24:31 +00:00
parent c38bbfdc11
commit e8235f6967

View File

@@ -59,8 +59,8 @@ void PolygonOffset::setFactorAndUnitMultipliersUsingBestGuessForDriver()
if ((strstr((const char*)renderer,"Radeon")!=0) ||
(strstr((const char*)renderer,"RADEON")!=0))
{
setFactorMultiplier(256.0f);
setUnitMultiplier(256.0f);
setFactorMultiplier(1.0f);
setUnitMultiplier(128.0f);
osg::notify(osg::INFO)<<"PolygonOffset::setFactorAndUnitMultipliersUsingBestGuessForDriver() apply ATI workaround."<<std::endl;
}
}