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

    r4805 r5381  
    214214    } 
    215215     
    216     // wait for all cull and draw threads to complete before exit. 
     216    // wait for all cull and draw threads to complete. 
     217    viewer.sync(); 
     218 
     219    // run a clean up frame to delete all OpenGL objects. 
     220    viewer.cleanup_frame(); 
     221 
     222    // wait for all the clean up frame to complete. 
    217223    viewer.sync(); 
    218224