diff --git a/include/osgText/Font b/include/osgText/Font index bbac641f6..084afea5e 100644 --- a/include/osgText/Font +++ b/include/osgText/Font @@ -183,6 +183,8 @@ public: public: GlyphTexture(); + + const char* className() const { return "GlyphTexture"; } /** return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.*/ virtual int compare(const osg::StateAttribute& rhs) const;