Hello Michael,

On 01/13/2012 06:06 AM, Michael Raab wrote:
> I'm trying to change the pixel format of our application during runtime.
> To achieve this I need to recreate our drawing surface (device context) and 
> as an implication the opengl context. Up to this all went well.
> After that OpenSG leaves the frame buffer completely black. How is the 
> relation of OpenSG to the current GL context? What do I need to do to use a 
> new context?

a GL context is represented as a Window in OpenSG. Depending on the type 
of window you use they either create the context themselves or use an 
existing one (PassiveWindow).
I'm guessing you'll have to create a new window to use the new context.

        Cheers,
                Carsten

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to