[osg-users] GraphicContext null
Jannik Heller
scrawl at baseoftrash.de
Sat Nov 28 17:04:38 PST 2015
You can work around the issue using ScreenIdentifier::readDISPLAY() and passing that ScreenIdentifier to WindowingSystemInterface::getNumScreens()
Code:
osg::GraphicsContext::ScreenIdentifier si;
si.readDISPLAY();
windowingSystemInterface->getNumScreens(si);
I wonder if OSG should read the display by default in the ScreenIdentifier() constructor?
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=65785#65785
More information about the osg-users
mailing list