From d5fcdabfa1e8070baa440fa2f2347d9c70fae91d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 9 Dec 2014 14:58:34 +0000 Subject: [PATCH] Removed no longer used Extension definition git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14585 16af8721-9629-0410-8352-f15c8da7e697 --- include/osg/PrimitiveRestartIndex | 40 ------------------------------- 1 file changed, 40 deletions(-) diff --git a/include/osg/PrimitiveRestartIndex b/include/osg/PrimitiveRestartIndex index 79811533b..e98109fb6 100644 --- a/include/osg/PrimitiveRestartIndex +++ b/include/osg/PrimitiveRestartIndex @@ -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();