Unloading vertex buffers in OpenGL
- by Jeremy Statz
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.