Help me keep track of VBOs

This commit is contained in:
Siana Gearz
2011-05-07 05:47:13 +02:00
parent 0903241b8f
commit e3f9b4dbbe
3 changed files with 22 additions and 16 deletions

View File

@@ -60,20 +60,10 @@
class LLVBOPool : public LLGLNamePool
{
protected:
virtual GLuint allocateName()
{
GLuint name;
glGenBuffersARB(1, &name);
return name;
}
virtual void releaseName(GLuint name)
{
glDeleteBuffersARB(1, &name);
}
virtual GLuint allocateName();
virtual void releaseName(GLuint name);
};
//============================================================================
// base class