Login  Register

Re: Should I call glDeleteBuffers to destroy VBOs?

Posted by Sven Gothel on Feb 24, 2012; 6:41pm
URL: https://forum.jogamp.org/Should-I-call-glDeleteBuffers-to-destroy-VBOs-tp3771162p3773368.html

On 02/24/2012 07:07 PM, gouessej [via jogamp] wrote:
>
>
> @Sven Do you put the reference of a direct NIO buffer used with glBufferData
> into a cache too? If so, it will prevent my system from working.
>

No.
User provided buffers are not cached/referenced (not yet).

However, I fail to see why this should break your code,
ie. if we remove the reference at the appropriate GL call
(Delete/BufferData(on-same-target))

But .. it was a brainstorming .. pls explain why this could
break your code. Thx.

~Sven


signature.asc (910 bytes) Download Attachment