- Timestamp:
- 09/27/07 15:49:56 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgshaderterrain/osgshaderterrain.cpp
r6941 r7498 259 259 } 260 260 261 class TestSupportOperation: public osg:: Operation261 class TestSupportOperation: public osg::GraphicsOperation 262 262 { 263 263 public: 264 264 265 265 TestSupportOperation(): 266 osg:: Operation("TestSupportOperation",false),266 osg::GraphicsOperation("TestSupportOperation",false), 267 267 _supported(true), 268 268 _errorMessage() {} 269 269 270 virtual void operator () (osg::Object* object) 271 { 272 osg::GraphicsContext* gc = dynamic_cast<osg::GraphicsContext*>(object); 273 if (!gc) return; 274 270 virtual void operator () (osg::GraphicsContext* gc) 271 { 275 272 OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_mutex); 276 273
