Show
Ignore:
Timestamp:
12/01/05 17:43:40 (9 years ago)
Author:
robert
Message:

Added comments.

Files:
1 modified

Legend:

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

    r4866 r4868  
    811811    viewer.setSceneData( node ); 
    812812 
     813    // register a test extension callback to be called when app realizes and gets a valid graphics context 
    813814    osg::ref_ptr<TestSupportCallback> testSupportCallback = new TestSupportCallback(); 
    814815    viewer.setRealizeCallback(testSupportCallback.get()); 
     
    817818    viewer.realize(); 
    818819     
     820    // exit if we don't have the extensions this example needs. 
    819821    if (!testSupportCallback->_supported) 
    820822    {