Removed no longer used Extension definition

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14585 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield 2014-12-09 14:58:34 +00:00
parent e31f682451
commit d5fcdabfa1

View File

@ -42,46 +42,6 @@ class OSG_EXPORT PrimitiveRestartIndex : public StateAttribute
virtual void apply(State& state) const;
#if 0
public:
/** Extensions class which encapsulates the querying of extensions and
* associated function pointers, and provide convenience wrappers to
* check for the extensions or use the associated functions.
*/
class OSG_EXPORT Extensions : public osg::Referenced
{
public:
Extensions(unsigned int contextID);
Extensions(const Extensions& rhs);
void lowestCommonDenominator(const Extensions& rhs);
void setupGLExtensions(unsigned int contextID);
bool isOpenGL31Supported() const { return _isOpenGL31Supported; }
bool isPrimitiveRestartIndexNVSupported() const { return _isPrimitiveRestartIndexNVSupported; }
void glPrimitiveRestartIndex( GLuint index ) const;
protected:
~Extensions() {}
bool _isOpenGL31Supported;
bool _isPrimitiveRestartIndexNVSupported;
typedef void (GL_APIENTRY * PrimitiveRestartIndex)( GLuint index );
PrimitiveRestartIndex _glPrimitiveRestartIndex;
};
static Extensions* getExtensions(unsigned int contextID,bool createIfNotInitalized);
static void setExtensions(unsigned int contextID,Extensions* extensions);
#endif
protected:
virtual ~PrimitiveRestartIndex();