don't let vbo destory all

Hi
using a vbo destroys the existing context, hence how to avoid such?
Thanks

Since when do VBOs destroy anything? Nothing is destroyed. What are you talking about?

I do a plugin, vbo is ok but everything else from the parent is gone. I would appreciate advice on how to save and restore the original.

You’re talking completely incoherent nonsense - pretty much like in the other thread you opened on this “plugin”. Please be more accurate.

What do you mean by parent? The application dynamically loading a dynamically loaded library?

Just to be really clear to you.

This behaviour you get is not part of the way OpenGL behaves. You have a bug (or oversight/omission) in your own code that’s causing it, and without seeing your code it’s impossible to even guess what that bug/oversight/omission might be.

Yes after commenting:
//glEnableClientState(GL_VERTEX_ARRAY);
it works! Honestly I don’t know what the above was for…

[QUOTE=mikethebike;1251481]Yes after commenting:
//glEnableClientState(GL_VERTEX_ARRAY);
it works! Honestly I don’t know what the above was for…[/QUOTE]

Maybe you should read some documentation or tutorials before you go hacking at code. OpenGL may have a reputation for being easy, but that doesn’t mean that you get to skip reading documentation.