Freeing up memory

Hi,

I have used glvertex3f to store the vertices of a triangle. It has used up a lot of CPU memory. How can I delete that memory so that I can create another view using different data.

Thanking you in advance

MacSam

Or can I delete it?

You might post a little code to illustrate your use case.

In general, once you upload your vertices to the GPU and store them in a buffer object, you can just delete (or reuse) the CPU memory buffer in your application that previously contained them, if you have no further need for them on the CPU-side in the future.