Thanks Thomas, changes merged and submitted to svn/trunk.
On 26 September 2012 15:29, Thomas Hogarth <[email protected]> wrote: > Hi Robert > > Apple have decided in their eternal wisdom to do away with separate depth > and stencil buffers on iOS from version 5 and above. > > Attached are changes to GraphicsWindowIOS.mm to support setting up the new > buffer type when compiling for iOS5, > also attached is a small change to FrameBufferObject.cpp to report support > for packed depth stencil via the > GL_OES_packed_depth_stencil extension. > > For anyone reading this you can attach a packed depth stencil to your FBO > like so > > _rttCamera->attach( osg::Camera::PACKED_DEPTH_STENCIL_BUFFER, > GL_DEPTH24_STENCIL8_EXT ); > > Luckily GL_DEPTH24_STENCIL8_EXT happens to have the same value as iOSs > GL_DEPTH24_STENCIL8_OES > > > Thanks > Tom > > > _______________________________________________ > 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
