From Mathias Froehlich, "it appears to me that sun CC cannot use static functions from template

functions. The attached change is required to make it compile with sun CC."
This commit is contained in:
Robert Osfield 2008-03-11 13:23:49 +00:00
parent 3537d21ae3
commit b2ead391b3

View File

@ -2632,7 +2632,7 @@ void Geometry::accept(PrimitiveIndexFunctor& functor) const
return;
}
static unsigned int _computeNumberOfPrimitives(const osg::Geometry& geom)
unsigned int _computeNumberOfPrimitives(const osg::Geometry& geom)
{
unsigned int totalNumberOfPrimitives = 0;
@ -3790,6 +3790,7 @@ Geometry* osg::createTexturedQuadGeometry(const Vec3& corner,const Vec3& widthVe
typedef DrawAttributeArrays_TTT_USI<T2,N3,V3> DrawAttributeArrays_T2N3V3_i;
typedef DrawAttributeArrays_TTT<T2,C4,V3> DrawAttributeArrays_T2C4V3;
typedef DrawAttributeArrays_TTT<T2USI,C4,V3> DrawAttributeArrays_T2iC4V3;
typedef DrawAttributeArrays_TTT<T2,C4USI,V3> DrawAttributeArrays_T2C4iV3;