[osg-users] OSG 3.4.0 RC10 OSX - Viewport spans multiple monitors

Jannik Heller scrawl at baseoftrash.de
Sun Aug 9 10:47:03 PDT 2015


Hi Paolo,


> On a related topic, is there a way to query how many screens are available? 
> 


Try this:


Code:

unsigned int numScreens = osg::GraphicsContext::getWindowingSystemInterface()->getNumScreens();




Cheers,
Jannik

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64686#64686








More information about the osg-users mailing list