diff --git a/examples/osgmultiviewOVR/MultiviewOVR.cpp b/examples/osgmultiviewOVR/MultiviewOVR.cpp index 4425e58ce..0ce91b94b 100644 --- a/examples/osgmultiviewOVR/MultiviewOVR.cpp +++ b/examples/osgmultiviewOVR/MultiviewOVR.cpp @@ -138,13 +138,8 @@ void MultiviewOVR::configure(osgViewer::View& view) const depth_texture->setWrap(osg::Texture::WRAP_T,osg::Texture::CLAMP_TO_EDGE); depth_texture->setWrap(osg::Texture::WRAP_R,osg::Texture::CLAMP_TO_EDGE); - #if 0 - osg::Camera::RenderTargetImplementation renderTargetImplementation = osg::Camera::SEPERATE_WINDOW; - GLenum buffer = GL_FRONT; -#else osg::Camera::RenderTargetImplementation renderTargetImplementation = osg::Camera::FRAME_BUFFER_OBJECT; GLenum buffer = GL_FRONT; -#endif // left/right eye multiviewOVR camera { diff --git a/examples/osgmultiviewOVR/StandardStereo.cpp b/examples/osgmultiviewOVR/StandardStereo.cpp index 39472e92c..62edde685 100644 --- a/examples/osgmultiviewOVR/StandardStereo.cpp +++ b/examples/osgmultiviewOVR/StandardStereo.cpp @@ -128,13 +128,8 @@ void StandardStereo::configure(osgViewer::View& view) const texture->setWrap(osg::Texture::WRAP_T,osg::Texture::CLAMP_TO_EDGE); texture->setWrap(osg::Texture::WRAP_R,osg::Texture::CLAMP_TO_EDGE); -#if 0 - osg::Camera::RenderTargetImplementation renderTargetImplementation = osg::Camera::SEPERATE_WINDOW; - GLenum buffer = GL_FRONT; -#else osg::Camera::RenderTargetImplementation renderTargetImplementation = osg::Camera::FRAME_BUFFER_OBJECT; GLenum buffer = GL_FRONT; -#endif // left eye {