Thanks Andreas, the new file looks more sensible, now merged and checked into svn/trunk.
On Thu, Jan 27, 2011 at 6:35 PM, Andreas Roth <[email protected]> wrote: > Hi, > > you're right. I attached the wrong file. Sorry for that. > Here's the change line: > --- src/osgQt/GraphicsWindowQt.cpp (revision 4000) > +++ src/osgQt/GraphicsWindowQt.cpp (working copy) > @@ -157,6 +157,7 @@ > format.setStencil( _traits->stencil>0 ); > format.setDoubleBuffer( _traits->doubleBuffer ); > format.setSwapInterval( _traits->vsync ? 1 : 0 ); > + format.setStereo( _traits->quadBufferStereo ? 1 : 0 ); > > WindowData* windowData = _traits.get() ? > dynamic_cast<WindowData*>(_traits->inheritedWindowData.get()) : 0; > _widget = windowData ? windowData->_widget : 0; > > And attached is entire file. > > Regards, > Andreas > > On Thursday 27 January 2011 18:19:24 Robert Osfield wrote: >> Hi Andreas, >> >> You GraphicsWindowQt.cpp is identical the one in svn/trunk. I can't >> spot any settings in of QGLformat in the bool GraphicsWindowQt::init() >> method that looks related to quad buffer stereo. Could you have >> posted the wrong file? >> >> Robert. >> >> On Thu, Jan 27, 2011 at 4:32 PM, Andreas Roth >> >> <[email protected]> wrote: >> > Hi, >> > >> > the attached file contains a simple fix to support quad buffer stereo in >> > osgQt. >> > >> > Regards, >> > Andreas >> > >> > >> > _______________________________________________ >> > osg-submissions mailing list >> > [email protected] >> > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegra >> > ph.org >> >> _______________________________________________ >> osg-submissions mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph >> .org > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
