Show
Ignore:
Timestamp:
09/27/07 15:49:56 (7 years ago)
Author:
robert
Message:

Changed across to using a GraphicsOperation? as the base class for the RealizeOperation?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgshaderterrain/osgshaderterrain.cpp

    r6941 r7498  
    259259} 
    260260 
    261 class TestSupportOperation: public osg::Operation 
     261class TestSupportOperation: public osg::GraphicsOperation 
    262262{ 
    263263public: 
    264264 
    265265    TestSupportOperation(): 
    266         osg::Operation("TestSupportOperation",false), 
     266        osg::GraphicsOperation("TestSupportOperation",false), 
    267267        _supported(true), 
    268268        _errorMessage() {} 
    269269 
    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    { 
    275272        OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_mutex); 
    276273