Show
Ignore:
Timestamp:
08/02/06 21:55:03 (8 years ago)
Author:
robert
Message:

Added viewer.cleanup_frame() to all examples.

Files:
1 modified

Legend:

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

    r2907 r5381  
    145145    } 
    146146     
    147     // wait for all cull and draw threads to complete before exit. 
     147    // wait for all cull and draw threads to complete. 
     148    viewer.sync(); 
     149 
     150    // run a clean up frame to delete all OpenGL objects. 
     151    viewer.cleanup_frame(); 
     152 
     153    // wait for all the clean up frame to complete. 
    148154    viewer.sync(); 
    149155