Replies: 1 comment 3 replies
-
setUpViewerAsEmbeddedInWindow() is just for single context single threaded applications, it does a non op for key parts of the GraphicsWindow that are required for multi-context work. GLWF won't add anything over what the core osgViewer native windowing will provide so why not just uses the OSG out of the box, it save you lots of hassle. If you really must use GLFW then have a look at the various subclasses of GraphicsWindow to see what they implement and create a GraphicsWindowFLFW equivalent. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just had a quick question about the above function. If we have two GLFW contexts will setUpViewerAsEmbeddedInWindow embed to the current GLFW context we have or is it something different that I'm missing. In addition to this I was wondering if there was anything special I had to do for osgViewer->frame() with multiple GLFW contexts, it seems to come back with a RenderBin::Draw() openGL error every time.
Beta Was this translation helpful? Give feedback.
All reactions