Hi Carlos, Carlos Sanches schrieb: > I m looking for some example of > osg::GraphicsContext::WindowingSystemInterface . > Do you know where I found some example of how to use it ? Afaik there's no such example.
This works for me: it changes the resolution to 800x600 for Screen 0 osg::GraphicsContext::WindowingSystemInterface* wsi = osg::GraphicsContext::getWindowingSystemInterface(); if (wsi) { wsi->setScreenResolution(0,800,600); } Note: depending on your version of osg there may be a bug in the OS X implementation of setScreenResolution, a fix for this is not commited yet. cheers, Stephan _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org