HI Tim, On Jan 4, 2008 10:53 AM, Tim Moore <[EMAIL PROTECTED]> wrote: > The problem is that users who have DISPLAY=:0, which we believe is valid, > can't start > OSG applications that check the display value. They fail with a Error: Not > able to create requested visual. > message. > > I suppose the proper fix is to handle this case in GraphicsWindowX11.cpp.
This is most likely a bug in core osgViewer::View.cpp and perhaps the other setup code. It isn't intended that one passes undefined ScreeenIdentifier. Perhaps its best to add a catch block into GraphicsWindowX11.cpp to catch this case as well to cope with times when things aren't specified correctly. Which version of the OSG is this problem occurring with? There has already been some fixes to the SVN version since 2.2 which do relate to the handling of ScreenIdentifier. Is there are an OSG example that produces this problem? Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
