You can work around the issue using ScreenIdentifier::readDISPLAY() and passing 
that ScreenIdentifier to WindowingSystemInterface::getNumScreens()


Code:

                osg::GraphicsContext::ScreenIdentifier si;
                si.readDISPLAY();

windowingSystemInterface->getNumScreens(si); 




I wonder if OSG should read the display by default in the ScreenIdentifier() 
constructor?

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





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

Reply via email to