diff --git a/include/osgText/Text b/include/osgText/Text index 4300788a5..67d861461 100644 --- a/include/osgText/Text +++ b/include/osgText/Text @@ -338,12 +338,12 @@ public: const LineNumbers& getLineNumbers() const { return _lineNumbers; } /** Resize any per context GLObject buffers to specified size. */ - virtual void resizeGLObjectBuffers(unsigned int maxSize); + void resizeGLObjectBuffers(unsigned int maxSize); /** If State is non-zero, this function releases OpenGL objects for * the specified graphics context. Otherwise, releases OpenGL objexts * for all graphics contexts. */ - virtual void releaseGLObjects(osg::State* state=0) const; + void releaseGLObjects(osg::State* state=0) const; private: