David_pb
09-27-2008, 08:21 AM
Hi!
I've got a question about the usage of VBOs. One can allocate memory when calling glBufferDataARB. But what happens if I call this function twice for the same buffer (maybe with another size)? Is the old memory freed or do I have to worry about that by myself?
I haven't found an explanation for this question so far... Maybe somebody knows something about that.
Thank you,
David
Edit:
Sorry, I just found the answer in the specs. But I can swear that it wasn't there berfore! ;-)
I've got a question about the usage of VBOs. One can allocate memory when calling glBufferDataARB. But what happens if I call this function twice for the same buffer (maybe with another size)? Is the old memory freed or do I have to worry about that by myself?
I haven't found an explanation for this question so far... Maybe somebody knows something about that.
Thank you,
David
Edit:
Sorry, I just found the answer in the specs. But I can swear that it wasn't there berfore! ;-)