Unloading vertex buffers in OpenGL

Posted by Jeremy Statz on Stack Overflow See other posts from Stack Overflow or by Jeremy Statz
Published on 2010-04-17T03:27:45Z Indexed on 2010/04/17 3:33 UTC
Read the original article Hit count: 443

Filed under:
|
|
|

I have an Android live wallpaper that I suspect is leaking memory, probably either textures or vertex arrays. I'm calling glDeleteTextures on my texture IDs, but don't see any sort of equivalent for my vertex buffers. I'd like to be able to be sure both my textures and buffers are getting unloaded by OpenGL, am i missing something?

The documents I've found seem to suggest OpenGL just works it out on its own, but that's not giving me a lot of comfort.

© Stack Overflow or respective owner

Related posts about opengl

Related posts about buffers