Improvements to the handling of multiple graphics contexts. Still needs alot

of work, but at least it isn't crashes in trivial cases right now.
This commit is contained in:
Robert Osfield
2003-01-20 20:28:28 +00:00
parent 6e778f2436
commit 4de63e72c6
4 changed files with 48 additions and 11 deletions

View File

@@ -124,6 +124,9 @@ class OSGTEXT_EXPORT Text : public osg::Drawable
void setEncodedText(EncodedText* encodedText) { _encodedText = encodedText; }
const EncodedText* getEncodedText() const { return _encodedText.get(); }
/// override the compile to set up the alignment etc.
virtual void compile(osg::State& state) const;
protected:
enum FontType