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

    r5326 r5381  
    411411    } 
    412412     
    413     // wait for all cull and draw threads to complete before exit. 
     413    // wait for all cull and draw threads to complete. 
     414    viewer.sync(); 
     415 
     416    // run a clean up frame to delete all OpenGL objects. 
     417    viewer.cleanup_frame(); 
     418 
     419    // wait for all the clean up frame to complete. 
    414420    viewer.sync(); 
    415421