Try using the environment variable OSG_SCREEN=0 or using C++:
putenv( "OSG_SCREEN=0" );

This configures osgviewer to use only your primary screen.

Daniel

________________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charles Han
Sent: Monday, March 17, 2008 10:31 PM
To: OSG-USERS
Subject: [osg-users] Dual-screen configuration

Hey people,
 
My application has a problem to run on a dual-screen computer I.e. the viewer 
can not be initialized properly. Is there a configuration to overcome this 
since we are not sure if users have dual or single screen.
 
Thanks
 
Charles
 
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to