Moved GL2Extensions functionality into the include/osg/GLExtensions header and new GLExtensions object.
Moved the #defines into new include/osg/GLDefines Converted all GL2Extensions usage to GLExtensions usage git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14593 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -331,7 +331,7 @@ class OSG_EXPORT Program : public osg::StateAttribute
|
||||
/** Pointer to our parent Program */
|
||||
const Program* _program;
|
||||
/** Pointer to this context's extension functions */
|
||||
osg::ref_ptr<GL2Extensions> _extensions;
|
||||
osg::ref_ptr<GLExtensions> _extensions;
|
||||
/** Handle to the actual OpenGL glProgram */
|
||||
GLuint _glProgramHandle;
|
||||
/** Does our glProgram need to be linked? */
|
||||
@@ -342,7 +342,7 @@ class OSG_EXPORT Program : public osg::StateAttribute
|
||||
bool _loadedBinary;
|
||||
|
||||
const unsigned int _contextID;
|
||||
|
||||
|
||||
/** Does the glProgram handle belongs to this class? */
|
||||
bool _ownsProgramHandle;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user