Sorry again
After a lot of bullshit here's a correct answer
for your code you should replace
wsi->getNumScreens()
with
wsi->getNumScreens(osg::GraphicsContext::ScreenIdentifier(1))
to work on DISPLAY=:1.0


mp3butcher wrote:
> Sorry I misinterpreted the code and said bullshit
> there's  really  bug in X11WindowingSystemInterface reporting 0 screens
> 
> 
> mp3butcher wrote:
> > WindowingSystemInterface is an interface implemented in system dependant 
> > osgViewer::XXXWindowingSystemInterface
> > What may be done is to add a system agnotistic windowInterface in osgviewer
> > 
> >  #ifdef SYS
> > typedef  osgViewer::SYSWindowingSystemInterface 
> > osgViewer::WindowingInterface
> >  #else if SYS2
> > typedef osgViewer::SYS2WindowingSystemInterface 
> > osgViewer::WindowingInterface
> > 
> > In your case try to use osgUtil::X11WindowingSystemInterface
> 


------------------------
Twirling twirling twirling toward freedom

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to