Since the move to LWJGL I get memory exceptions sometimes which crashes the whole application. I've been reading around a bit on the web and found that it can be because of several reasons. Three I found was:
Textures not at a power of two (I made sure mine were)
Not newest gfx driver (I have the newest I can use)
Not rewinding buffers before adding them to the VBO (Mine are rewinded)
When I just let the game stand still I don't run into the problem but once I start creating and removing VBOs it crashes.
I came to the conclusion that it doesn't occur if I don't run the following line but I kind of need to run that one...:
ARBBufferObject.glDeleteBuffersARB(Buffers);
I have three "containers" that generate, populate and delete VBOs. If I only delete VBO's in one of them it works but if I delete VBOs in two or three of them it causes the above error.
Any known issue with deleting buffers?