PDA

View Full Version : Crash when switching back to desktop res _and_ VBO was used



B_old
08-04-2003, 02:40 AM
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!

Jan
08-04-2003, 02:49 AM
Maybe you try to delete the VBO after deleting OpenGLīs context?
Or DeleteBuffer gets a wrong ID passed?

B_old
08-04-2003, 02:54 AM
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).]