- Timestamp:
- 11/12/08 11:30:17 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgmemorytest/osgmemorytest.cpp
r9149 r9154 18 18 19 19 #include <osg/Notify> 20 #include <osg/Timer> 20 21 #include <osg/ArgumentParser> 21 22 #include <osg/Texture1D> … … 23 24 #include <osg/Texture3D> 24 25 #include <osg/Geometry> 25 26 #include <osgViewer/Viewer> 26 #include <osg/FrameBufferObject> 27 28 #include <osgViewer/Version> 27 29 28 30 #include <stdio.h> … … 80 82 else 81 83 { 84 std::cerr<<"Error: Unable to create graphis context, problem with running osgViewer-"<<osgViewerGetVersion()<<", cannot create windows/pbuffers."<<std::endl; 85 82 86 if (_pbuffer) throw "Failed to create PixelBuffer"; 83 87 else throw "Failed to create GraphicsWindow"; … … 418 422 osg::Timer_t startTick = osg::Timer::instance()->tick(); 419 423 420 421 424 // use printf's below as C++'s ostream classes use more memory and are more likely to fail when everything 422 425 // goes wrong with memory allocations.
