Crash when switching back to desktop res _and_ VBO was used

Hello.
I just made a quick test with VBO. It seems nice although questions remain on my side, anyway thats not the point of this post.

When I use VBO and run fullscreen in any res different from desktop res (bitdepth matters too) the app will crash when switching back to desktop res. The switch will actually be performed though.

I am sure that this only occurs when I use VBO. Is this any known issue or am I maybe failing to unload the buffers correctly?

Thanks for any advice!

Maybe you try to delete the VBO after deleting OpenGLĀ“s context?
Or DeleteBuffer gets a wrong ID passed?

Originally posted by Jan2000:
Maybe you try to delete the VBO after deleting OpenGLĀ“s context?

Very possible! I hope this is it. Thanks.

EDIT: You were right it seems, thanks a lot!

[This message has been edited by B_old (edited 08-04-2003).]