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

    r4805 r5381  
    339339    // wait for all cull and draw threads to complete. 
    340340    viewer.sync(); 
    341      
     341 
     342    // run a clean up frame to delete all OpenGL objects. 
     343    viewer.cleanup_frame(); 
     344 
     345    // wait for all the clean up frame to complete. 
     346    viewer.sync(); 
    342347 
    343348    return 0;