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
Index: src/osg/GraphicsContext.cpp
===================================================================
--- src/osg/GraphicsContext.cpp (revision 7754)
+++ src/osg/GraphicsContext.cpp (working copy)
@@ -125,7 +125,7 @@
     }
     else
     {
-        screenNum = -1;
+        screenNum = 0;
     }
 
 #if 0    
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to