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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user