diff --git a/include/osgUtil/Statistics b/include/osgUtil/Statistics index b635ddb39..034c24d3d 100644 --- a/include/osgUtil/Statistics +++ b/include/osgUtil/Statistics @@ -165,7 +165,7 @@ class Statistics : public osg::Drawable::PrimitiveFunctor unsigned int _total_primitives_count; unsigned int _number_of_vertexes; - unsigned int _calculate_primitives_number_by_mode(GLenum, GLsizei); + inline unsigned int _calculate_primitives_number_by_mode(GLenum, GLsizei); }; inline unsigned int Statistics::_calculate_primitives_number_by_mode(GLenum mode, GLsizei count) diff --git a/src/osgPlugins/txp/trpage_geom.h b/src/osgPlugins/txp/trpage_geom.h index c68ac3045..0f8d70a4f 100644 --- a/src/osgPlugins/txp/trpage_geom.h +++ b/src/osgPlugins/txp/trpage_geom.h @@ -541,7 +541,7 @@ public: float64 transparentScale; float64 transparentClamp; float64 fogScale; - }; + } _PerformerAttr; // Struct for Animated Lights typedef struct AnimationAttr { @@ -551,7 +551,7 @@ public: float64 timeOn; trpg3dPoint vector; int32 flags; - }; + } _AnimationAttr; // Struct for Calligraphic Lights typedef struct CalligraphicAttr { @@ -559,7 +559,7 @@ public: int32 drawOrder; float64 minDefocus; float64 maxDefocus; - }; + } _CalligraphicAttr; // Setters // Set Type