Improved resizeGLObjectBuffers support

This commit is contained in:
Robert Osfield
2007-01-08 20:46:56 +00:00
parent 709d2fa435
commit 7f5aaa8424
3 changed files with 20 additions and 2 deletions

View File

@@ -239,6 +239,12 @@ public:
virtual void apply(osg::State& state) const;
/** Set whether to use a mutex to ensure ref() and unref() are thread safe.*/
virtual void setThreadSafeRefUnref(bool threadSafe);
/** Resize any per context GLObject buffers to specified size. */
virtual void resizeGLObjectBuffers(unsigned int maxSize);
protected:
virtual ~GlyphTexture();