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

    r4805 r5381  
    968968     
    969969     
    970     // wait for all cull and draw threads to complete before exit. 
     970    // wait for all cull and draw threads to complete. 
     971    viewer.sync(); 
     972 
     973    // run a clean up frame to delete all OpenGL objects. 
     974    viewer.cleanup_frame(); 
     975 
     976    // wait for all the clean up frame to complete. 
    971977    viewer.sync(); 
    972978