Hi,

i am trying to embed osg::Viewer into a window form but can't get past these 2 
lines:

        osg::ref_ptr<osg::GraphicsContext::Traits> traits = new 
osg::GraphicsContext::Traits();
        traits->inheritedWindowData = new 
osgViewer::GraphicsWindowWin32::WindowData(hwnd);

There is something wrong with osg::GraphicsContext::Traits, i get access 
violation. Osg version = 3.0.1, msvs 2010.
Thank you!

Cheers,
trolo

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





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

Reply via email to