diff --git a/examples/osgdistortion/osgdistortion.cpp b/examples/osgdistortion/osgdistortion.cpp index c32877d60..feb088ee7 100644 --- a/examples/osgdistortion/osgdistortion.cpp +++ b/examples/osgdistortion/osgdistortion.cpp @@ -108,13 +108,6 @@ public: { } - void resizeRTTCamera(osg::Camera* camera,unsigned int width, unsigned int height) - { - camera->setViewport(0, 0, width, height); - - camera->resizeAttachments(width, height); - } - virtual bool handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa, osg::Object* object, osg::NodeVisitor* nv) { osg::Camera* camera = dynamic_cast(object); @@ -130,11 +123,8 @@ public: OSG_NOTICE<<" WindowWidth="<