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

    r5327 r5381  
    16591659        } 
    16601660         
    1661  
    1662         // wait for all cull and draw threads to complete before exit. 
     1661        // wait for all cull and draw threads to complete. 
     1662        viewer.sync(); 
     1663 
     1664        // run a clean up frame to delete all OpenGL objects. 
     1665        viewer.cleanup_frame(); 
     1666 
     1667        // wait for all the clean up frame to complete. 
    16631668        viewer.sync(); 
    16641669    }