diff --git a/src/osg/Geometry.cpp b/src/osg/Geometry.cpp index 4193469e3..f10021f4d 100644 --- a/src/osg/Geometry.cpp +++ b/src/osg/Geometry.cpp @@ -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 DrawAttributeArrays_T2N3V3_i; + typedef DrawAttributeArrays_TTT DrawAttributeArrays_T2C4V3; typedef DrawAttributeArrays_TTT DrawAttributeArrays_T2iC4V3; typedef DrawAttributeArrays_TTT DrawAttributeArrays_T2C4iV3;