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

    r5064 r5381  
    578578    } 
    579579 
    580     // wait for all cull and draw threads to complete before exit. 
     580    // wait for all cull and draw threads to complete. 
     581    viewer.sync(); 
     582 
     583    // run a clean up frame to delete all OpenGL objects. 
     584    viewer.cleanup_frame(); 
     585 
     586    // wait for all the clean up frame to complete. 
    581587    viewer.sync(); 
    582588