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

    r5328 r5381  
    256256    } 
    257257     
    258     // wait for all cull and draw threads to complete before exit. 
     258    // wait for all cull and draw threads to complete. 
     259    viewer.sync(); 
     260 
     261    // run a clean up frame to delete all OpenGL objects. 
     262    viewer.cleanup_frame(); 
     263 
     264    // wait for all the clean up frame to complete. 
    259265    viewer.sync(); 
    260266