Hi,

On 21. Jan 2010, at 10:42, Robert Hauck [via Software] wrote:

> How can I get a valid context from inside a pipe?

You don't. The Window is the holder for the GL Context.

> There, the scenegraph gets created and it uses OSG textures and at the moment 
> it fails, because there is no valid OpenGL context. 
> 
> Is the pipe the right place to do that initialization? 

The right place would be Window::configInitGL. Use getSharedContextWindow() to 
determine in which window you have to do the initialization - you have to 
initialize only if you have no shared context window or if you are the shared 
context window.


HTH,

Stefan.


_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to