From Ravi Mathur, added extension checks for point sprite support.

From Robert Osfield, tweaks of the above to use osg::buffer_object and a local struct to store
initialized to help with multi-thread and out of order context usage.
This commit is contained in:
Robert Osfield
2005-09-19 15:28:31 +00:00
parent d1108ea862
commit 871cc70c32
2 changed files with 31 additions and 1 deletions

View File

@@ -50,6 +50,8 @@ public:
virtual void apply(osg::State& state) const;
static bool isPointSpriteSupported(unsigned int context);
protected:
virtual ~PointSprite( void ) {}
};