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/osgsimplifier/osgsimplifier.cpp

    r5328 r5381  
    184184    } 
    185185     
    186     // wait for all cull and draw threads to complete before exit. 
     186    // wait for all cull and draw threads to complete. 
     187    viewer.sync(); 
     188 
     189    // run a clean up frame to delete all OpenGL objects. 
     190    viewer.cleanup_frame(); 
     191 
     192    // wait for all the clean up frame to complete. 
    187193    viewer.sync(); 
    188194