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

    r5012 r5381  
    496496    } 
    497497     
    498     // wait for all cull and draw threads to complete before exit. 
     498    // wait for all cull and draw threads to complete. 
     499    viewer.sync(); 
     500 
     501    // run a clean up frame to delete all OpenGL objects. 
     502    viewer.cleanup_frame(); 
     503 
     504    // wait for all the clean up frame to complete. 
    499505    viewer.sync(); 
    500506