[osg-users] DISPLAY ignored by osgViewer?

Paul Martz pmartz at skew-matrix.com
Tue Oct 23 16:02:24 PDT 2007

I'm looking through the v2.2 source, and although OSG appears to parse the
DISPLAY environment variable, it never appears to use its values. In
particular, the following osgViewer::Viewer entry points override the
screenNum values specified in DISPLAY:
Is this intentional? If so, why bother parsing DISPLAY at all?
To ask the question another way: I'm trying to create an environment
variable reference for OSG and want to document all environment variables
that OSG reads. Can someone tell me what effect setting the DISPLAY
environment variable has?

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com <http://www.skew-matrix.com/> 
303 859 9466
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071023/067f5be5/attachment-0002.htm>

More information about the osg-users mailing list