Починка QUAD_BUFFER стерео:
— src/Main/WindowBuilder.cxx.orig 2010-02-17 17:11:56.000000000 +0100
+++ /src/Main/WindowBuilder.cxx 2010-11-26 01:47:38.260867435 +0100
@@ -95,6 +95,18 @@
#endif
traits->supportsResize = true;
}
+ osg::DisplaySettings* ds = osg::DisplaySettings::instance();
+ if (ds->getStereo())
+ {
+ switch(ds->getStereoMode())
+ {
+ case(osg::DisplaySettings::QUAD_BUFFER): traits->quadBufferStereo = true; break;
+ case(osg::DisplaySettings::VERTICAL_INTERLACE):
+ case(osg::DisplaySettings::CHECKERBOARD):
+ case(osg::DisplaySettings::HORIZONTAL_INTERLACE): traits->stencil = 8; break;
+ default: break;
+ }
+ }
return traits;
}
}[/c++]