Hi,

We are using shared context, but have custom drawables that use Vertex Array 
Objects. This causes a problem in the case of multiple windows (where each is a 
separate gl context). 

We can manage/create vaos depending on the gl context id that we are currently 
rendering with.

But, we can't use context id as reported by render info, because that 
represents the shared context id and not the HGLRC

Prefer to avoid wglGetCurrentContext in each draw call obviously. And we _do_ 
want to use shared contexts.

How can we work around this so that we have access to the HGLRC or an id 
representing it?

Thank you!

Cheers,
Poojan

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72358#72358





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to