Moved GLBufferObject::Extensions structure into osg::GL2Extensions
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14570 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -121,7 +121,7 @@ class OSG_EXPORT TextureBuffer : public Texture
|
||||
_id(0),
|
||||
_usageHint(usageHint)
|
||||
{
|
||||
_extensions = osg::GLBufferObject::getExtensions(contextID, true);
|
||||
_extensions = osg::GL2Extensions::Get(contextID, true);
|
||||
}
|
||||
|
||||
void bindBuffer(GLenum target);
|
||||
@@ -134,7 +134,7 @@ class OSG_EXPORT TextureBuffer : public Texture
|
||||
public:
|
||||
GLuint _id;
|
||||
GLenum _usageHint;
|
||||
osg::GLBufferObject::Extensions* _extensions;
|
||||
osg::GL2Extensions* _extensions;
|
||||
};
|
||||
|
||||
typedef osg::buffered_object<osg::ref_ptr<TextureBufferObject> > TextureBufferObjectList;
|
||||
|
||||
Reference in New Issue
Block a user