Posted by Sven Gothel on Dec 05, 2010; 2:12pm URL: https://forum.jogamp.org/re-NEWT-Threading-Overview-tp1991718p2022385.html
On Tuesday, November 30, 2010 11:08:00 gouessej [via jogamp] wrote:
>
> Hi!
>
> How do you use shared contexts? I have a single GLCanvas that I move from a frame to another one but I lose the textures and the VBO :( When do you create your shared context?
Yes, this is a pity behavior of GLCanvas add/remove code as it is.
remove() really destroys the context, and add() creates it.