- Timestamp:
- 10/01/09 22:19:42 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgscreencapture/osgscreencapture.cpp
r10064 r10600 138 138 void read() 139 139 { 140 osg:: BufferObject::Extensions* ext = osg::BufferObject::getExtensions(_gc->getState()->getContextID(),true);140 osg::GLBufferObject::Extensions* ext = osg::GLBufferObject::getExtensions(_gc->getState()->getContextID(),true); 141 141 142 142 if (ext->isPBOSupported() && !_pboBuffer.empty()) … … 159 159 void readPixels(); 160 160 161 void singlePBO(osg:: BufferObject::Extensions* ext);162 163 void multiPBO(osg:: BufferObject::Extensions* ext);161 void singlePBO(osg::GLBufferObject::Extensions* ext); 162 163 void multiPBO(osg::GLBufferObject::Extensions* ext); 164 164 165 165 typedef std::vector< osg::ref_ptr<osg::Image> > ImageBuffer; … … 326 326 } 327 327 328 void WindowCaptureCallback::ContextData::singlePBO(osg:: BufferObject::Extensions* ext)328 void WindowCaptureCallback::ContextData::singlePBO(osg::GLBufferObject::Extensions* ext) 329 329 { 330 330 // std::cout<<"singelPBO( "<<_fileName<<" image "<<_currentImageIndex<<" "<<_currentPboIndex<<std::endl; … … 403 403 } 404 404 405 void WindowCaptureCallback::ContextData::multiPBO(osg:: BufferObject::Extensions* ext)405 void WindowCaptureCallback::ContextData::multiPBO(osg::GLBufferObject::Extensions* ext) 406 406 { 407 407 // std::cout<<"multiPBO( "<<_fileName<<" image "<<_currentImageIndex<<" "<<_currentPboIndex<<std::endl;
