Added support for clean up Vertex Array Objects
This commit is contained in:
@@ -134,9 +134,6 @@ public:
|
||||
/** Disable all the vertex attributes that have been marked as to be disabled.*/
|
||||
void applyDisablingOfVertexAttributes(osg::State& state);
|
||||
|
||||
|
||||
|
||||
|
||||
// Verex Array Object methods.
|
||||
void generateVretexArrayObject();
|
||||
|
||||
@@ -144,14 +141,15 @@ public:
|
||||
|
||||
void unbindVertexArrayObject() const;
|
||||
|
||||
GLint getVertexArrayObject() const { return _vertexArrayObject; }
|
||||
void deleteVertexArrayObject();
|
||||
|
||||
void releaseGLObjects();
|
||||
GLint getVertexArrayObject() const { return _vertexArrayObject; }
|
||||
|
||||
|
||||
void setRequiresSetArrays(bool flag) { _requiresSetArrays = flag; }
|
||||
bool getRequiresSetArrays() const { return _requiresSetArrays; }
|
||||
|
||||
void release();
|
||||
|
||||
public:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user