[osg-submissions] fix DISPLAY detection in osg::GraphicsContext::ScreenIdentifier::setScreenIdentifier
Robert Osfield
robert.osfield at gmail.com
Fri Jan 4 02:30:17 PST 2008
Hi Zach,
Could you explain what the problem you are addressing, and what
version of the OSG you are using. FYI, the intent of this code block
is deliberately to use -1 as the signifier that no screen number has
been specified, this way calling code can handle the case and is meant
to - typically it should just then default to 0 for the screen number
when its not defined to achieve your desired effect. If you have
code elsewhere that is failure because of this, then its this code
that is probably not working correctly, hence why I'd like to back out
and find out why you are needing this change.
Robert.
On Dec 28, 2007 9:37 PM, Zach Welch <zach-osg at splitstring.com> wrote:
> Howdy,
>
> The attached patch fixes the
> osg::GraphicsContext::ScreenIdentifier::setScreenIdentifier method to
> correctly default to the first screen for systems where `DISPLAY=:0'.
>
> Cheers,
>
> Zach Welch
>
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
More information about the osg-submissions
mailing list